Subscription::saveNew is a static function

This commit is contained in:
Mikael Nordfeldth 2015-09-06 02:01:39 +02:00
parent d448275713
commit 917a547f91

View File

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