Commit 2be54b92 by Simon Champion

Use new suspend method.

parent e3e16b52
...@@ -32,9 +32,7 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly ...@@ -32,9 +32,7 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
*/ */
function qa_suspend_notifications($suspend = true) function qa_suspend_notifications($suspend = true)
{ {
global $qa_notifications_suspended; Q2A_Notifications_Status::suspend($suspend);
$qa_notifications_suspended += ($suspend ? 1 : -1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment