]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Subscription::saveNew is a static function
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 6 Sep 2015 00:01:39 +0000 (02:01 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 6 Sep 2015 00:01:39 +0000 (02:01 +0200)
classes/Subscription.php

index 6601bcd6fc10ce0b0678b17e5fd3392dc653b09c..16bab350d9b518a2a95edd5c7ace8569dde16a03 100644 (file)
@@ -150,7 +150,7 @@ class Subscription extends Managed_DataObject
      * Low-level subscription save.
      * Outside callers should use Subscription::start()
      */
-    protected function saveNew($subscriber_id, $other_id)
+    protected static function saveNew($subscriber_id, $other_id)
     {
         $sub = new Subscription();