From: Mikael Nordfeldth Date: Sun, 6 Sep 2015 00:01:39 +0000 (+0200) Subject: Subscription::saveNew is a static function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=917a547f918e91244aea1b80dd303626f3cabb18;p=quix0rs-gnu-social.git Subscription::saveNew is a static function --- diff --git a/classes/Subscription.php b/classes/Subscription.php index 6601bcd6fc..16bab350d9 100644 --- a/classes/Subscription.php +++ b/classes/Subscription.php @@ -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();