aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Entity/Item.php36
-rw-r--r--include/event.php2
2 files changed, 1 insertions, 37 deletions
diff --git a/Zotlabs/Entity/Item.php b/Zotlabs/Entity/Item.php
index 9e4bb5ee8..76ff8b150 100644
--- a/Zotlabs/Entity/Item.php
+++ b/Zotlabs/Entity/Item.php
@@ -488,24 +488,6 @@ class Item extends BaseObject
/**
* @return mixed
*/
- public function getApproved()
- {
- return $this->approved;
- }
-
- /**
- * @param mixed $approved
- * @return Item
- */
- public function setApproved($approved)
- {
- $this->approved = $approved;
- return $this;
- }
-
- /**
- * @return mixed
- */
public function getMimetype()
{
return $this->mimetype;
@@ -524,24 +506,6 @@ class Item extends BaseObject
/**
* @return mixed
*/
- public function getReplyto()
- {
- return $this->replyto;
- }
-
- /**
- * @param mixed $replyto
- * @return Item
- */
- public function setReplyto($replyto)
- {
- $this->replyto = $replyto;
- return $this;
- }
-
- /**
- * @return mixed
- */
public function getTitle()
{
return $this->title;
diff --git a/include/event.php b/include/event.php
index 2fa1cc4f1..3509c1556 100644
--- a/include/event.php
+++ b/include/event.php
@@ -647,7 +647,7 @@ function event_store_event($arr) {
else {
try {
$hash = Uuid::uuid4()->toString();
- } catch (UnsatisfiedDependencyException $e) {
+ } catch (UnableToBuildUuidException $e) {
$hash = random_string(48);
}
}