]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileaction.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / lib / profileaction.php
index 22c960406a49d1fec4c31be0cd7c4e925759eb4d..ac061dfbcef7b892f88f203e44834dc0ac7e7bc8 100644 (file)
@@ -95,15 +95,7 @@ abstract class ProfileAction extends ManagedAction
         return true;
     }
 
-    public function getTarget()
-    {
-        if (!$this->target instanceof Profile) {
-            throw new ServerException('No target profile in ProfileAction class');
-        }
-        return $this->target;
-    }
-
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }