Rename AddPoints to ManageAccount
The controller will contain all actions required to manage the test account Signed-off-by: Michael Tänzer <neo@nhng.de>
This commit is contained in:
parent
a1f716c45f
commit
73761fe863
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
* @author Michael Tänzer
|
||||
*/
|
||||
|
||||
class AddPointsController extends Zend_Controller_Action
|
||||
class ManageAccountController extends Zend_Controller_Action
|
||||
{
|
||||
const MAX_POINTS_PER_ASSURANCE = 35;
|
||||
const MAX_ASSURANCE_POINTS = 100;
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once (FWACTIONS_PATH . '/FWAction.php');
|
||||
|
||||
class AddPoints extends FWAction {
|
||||
class ManageAccount extends FWAction {
|
||||
/**
|
||||
* get a list of required permissions that are needed to access this action
|
||||
* @return array
|
||||
|
@ -32,7 +32,7 @@ class AddPoints extends FWAction {
|
|||
* @return string
|
||||
*/
|
||||
public static function getController() {
|
||||
return 'add-points';
|
||||
return 'manage-account';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -48,6 +48,6 @@ class AddPoints extends FWAction {
|
|||
* @return string
|
||||
*/
|
||||
public static function getMenuText() {
|
||||
return 'Add Points';
|
||||
return I18n::_('Manage Account');
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue