summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootosController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/BootosController.php')
-rw-r--r--application/modules/user/controllers/BootosController.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php
index bb4fe1c..899ff59 100644
--- a/application/modules/user/controllers/BootosController.php
+++ b/application/modules/user/controllers/BootosController.php
@@ -39,23 +39,23 @@ class user_BootosController 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);
}
$result = $this->_request->getParam('updateresult');
if($result != "") {
- $pbsNotifier = new Pbs_Notifier();
- $this->view->notification = $pbsNotifier->notify('update', $result);
+
+ $this->view->notification = Pbs_Notifier::notify('update', $result);
}
$groupID = $this->membership->getGroupID();