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

This commit is contained in:
Maiyannah Bishop 2017-04-22 19:43:47 -04:00
parent 155195c529
commit a4bdee92e9

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,