Skip to content
Snippets Groups Projects
Commit 69b962f4 authored by Demian Katz's avatar Demian Katz
Browse files

Cleaned up preDispatch action.

- Removed unused parameter
- Fixed bad comment
parent 05b5bea4
No related merge requests found
...@@ -62,13 +62,11 @@ class SummonController extends AbstractSearch ...@@ -62,13 +62,11 @@ class SummonController extends AbstractSearch
} }
/** /**
* preDispatch -- block access when appropriate. * preDispatch -- add Summon message.
*
* @param MvcEvent $e Event object
* *
* @return void * @return void
*/ */
public function preDispatch(MvcEvent $e) public function preDispatch()
{ {
$this->layout()->poweredBy $this->layout()->poweredBy
= 'Powered by Summon™ from Serials Solutions, a division of ProQuest.'; = 'Powered by Summon™ from Serials Solutions, a division of ProQuest.';
......
...@@ -66,13 +66,11 @@ class SummonrecordController extends AbstractRecord ...@@ -66,13 +66,11 @@ class SummonrecordController extends AbstractRecord
} }
/** /**
* preDispatch -- block access when appropriate. * preDispatch -- add Summon message.
*
* @param MvcEvent $e Event object
* *
* @return void * @return void
*/ */
public function preDispatch(MvcEvent $e) public function preDispatch()
{ {
$this->layout()->poweredBy $this->layout()->poweredBy
= 'Powered by Summon™ from Serials Solutions, a division of ProQuest.'; = 'Powered by Summon™ from Serials Solutions, a division of ProQuest.';
......
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