From a4bdee92e95073d92ffd94ed4945fa7af5259a67 Mon Sep 17 00:00:00 2001 From: Maiyannah Bishop Date: Sat, 22 Apr 2017 19:43:47 -0400 Subject: [PATCH] Easy fix for "non-static method called as static" --- QvitterPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QvitterPlugin.php b/QvitterPlugin.php index a05e836..b22e33b 100644 --- a/QvitterPlugin.php +++ b/QvitterPlugin.php @@ -944,7 +944,7 @@ class QvitterPlugin extends Plugin { /** * 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( 'is_seen' => 0,