]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Event fixes for activityhandlerplugin
[quix0rs-gnu-social.git] / classes / Notice.php
index 24a4c88d903d632d43139b34bdbe2987afecb9f7..1b2b631b04a23bfbe2da1ca491cdca13f6a31c5c 100644 (file)
@@ -913,7 +913,7 @@ class Notice extends Managed_DataObject
                 $object = null;
                 Event::handle('StoreActivityObject', array($act, $stored, $options, &$object));
                 if (empty($object)) {
-                    throw new ServerException('No object from StoreActivityObject '.$stored->uri . ': '.$act->asString());
+                    throw new ServerException('Unsuccessful call to StoreActivityObject '.$stored->uri . ': '.$act->asString());
                 }
                 $stored->object_type = ActivityUtils::resolveUri($object->getObjectType(), true);
                 $stored->update($orig);