From a6f59f2e1f33053154b2cb1a4f6bd9efd82efadf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 25 Apr 2017 12:17:30 +0800 Subject: [PATCH] Notify.php --- Notify.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Notify.php b/Notify.php index 14359d63..0880a0de 100644 --- a/Notify.php +++ b/Notify.php @@ -279,14 +279,16 @@ class Pman_Core_Notify extends Pman { // this should check each module for 'GenerateNotifications.php' class.. //and run it if found.. + $ff = HTML_FlexyFramework::get(); - + $disabled = explode(',', $ff->disable); + $modules = array_reverse($this->modulesList()); // move 'project' one to the end... foreach ($modules as $module){ - if(in_array($module, $this->disabled)){ + if(in_array($module, $disabled)){ continue; } $file = $this->rootDir. "/Pman/$module/GenerateNotifications.php"; -- 2.39.2