summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/ConfigController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/ConfigController.php')
-rw-r--r--application/modules/user/controllers/ConfigController.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/application/modules/user/controllers/ConfigController.php b/application/modules/user/controllers/ConfigController.php
index 59e6fd2..2881cd8 100644
--- a/application/modules/user/controllers/ConfigController.php
+++ b/application/modules/user/controllers/ConfigController.php
@@ -48,18 +48,18 @@ class user_ConfigController extends Zend_Controller_Action {
public function indexAction() {
$result = $this->_request->getParam('addresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('create', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('create', $result);
}
$result = $this->_request->getParam('deleteresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('delete', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('delete', $result);
}
$result = $this->_request->getParam('modifyresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('modify', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('modify', $result);
}
$groupID = $this->membership->getGroupID();
@@ -234,18 +234,18 @@ class user_ConfigController extends Zend_Controller_Action {
$result = $this->_request->getParam('addresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('create', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('create', $result);
}
$result = $this->_request->getParam('deleteresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('delete', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('delete', $result);
}
$result = $this->_request->getParam('modifyresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('modify', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('modify', $result);
}
$configID = $this->_request->getParam('configID');