Merge branch 'master' into 'master'

Easy fix for "non-static method called as static"

See merge request !92
This commit is contained in:
hannes 2017-05-29 09:48:22 +00:00
commit b21036d42c

View File

@ -944,7 +944,7 @@ class QvitterPlugin extends Plugin {
/** /**
* Mark single notification as seen * Mark single notification as seen
*/ */
public function markNotificationAsSeen($notice_id, $to_profile_id, $ntype) public static function markNotificationAsSeen($notice_id, $to_profile_id, $ntype)
{ {
$notification_to_mark_as_seen = QvitterNotification::pkeyGet(array( $notification_to_mark_as_seen = QvitterNotification::pkeyGet(array(
'is_seen' => 0, 'is_seen' => 0,