summaryrefslogtreecommitdiffstats
path: root/lib/Model
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-01-04 09:28:58 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-01-04 09:28:58 -0100
commit3e9ca2f9404e227db58b8b67dd176003f98e9f9f (patch)
tree9b6b0f4399a6c6fb0da72dee2d1fb3e0e4594de4 /lib/Model
parent4c013f149f57eb3b105fab3fc3b6d3c91b8f92d9 (diff)
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/ActivityPub/Object/Note.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Model/ActivityPub/Object/Note.php b/lib/Model/ActivityPub/Object/Note.php
index 361ed872..0efb3ac4 100644
--- a/lib/Model/ActivityPub/Object/Note.php
+++ b/lib/Model/ActivityPub/Object/Note.php
@@ -33,7 +33,6 @@ namespace OCA\Social\Model\ActivityPub\Object;
use DateTime;
use JsonSerializable;
use OCA\Social\Model\ActivityPub\ACore;
-use OCA\Social\Service\SignatureService;
class Note extends ACore implements JsonSerializable {
@@ -195,7 +194,6 @@ class Note extends ACore implements JsonSerializable {
*/
public function convertPublished() {
$dTime = new DateTime($this->getPublished());
- $dTime->format(SignatureService::DATE_FORMAT);
$this->setPublishedTime($dTime->getTimestamp());
}