Skip to content

Commit

Permalink
Readd dumpdb to actions in AdminController which was removed by mista…
Browse files Browse the repository at this point in the history
…ke in r11514

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@11544 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
GautamGupta committed Nov 30, 2011
1 parent cea7ce4 commit 4a6695e
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions application/controllers/AdminController.php
Expand Up @@ -24,12 +24,12 @@ class AdminController extends LSYii_Controller
* @access protected
* @return void
*/
protected function _init()
{
parent::_init();
$updatelastcheck = '';

$this->_sessioncontrol();
protected function _init()
{
parent::_init();
$updatelastcheck = '';

$this->_sessioncontrol();

if (Yii::app()->getConfig('buildnumber') != "" && Yii::app()->getConfig('updatecheckperiod') > 0 && $updatelastcheck < date_shift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", "-". Yii::app()->getConfig('updatecheckperiod')." days"))
updatecheck();
Expand Down Expand Up @@ -110,16 +110,17 @@ public function actions()
'index' => 'application.controllers.admin.index',
'globalsettings' => 'application.controllers.admin.globalsettings',
'quotas' => 'application.controllers.admin.quotas',
'export' => 'application.controllers.admin.export',
'assessments' =>'application.controllers.admin.assessments',
'checkintegrity' => 'application.controllers.admin.checkintegrity',
'labels' => 'application.controllers.admin.labels',
'htmleditor_pop' => 'application.controllers.admin.htmleditor_pop',
'survey' => 'application.controllers.admin.surveyaction',
'printablesurvey' => 'application.controllers.admin.printablesurvey',
'tokens' => 'application.controllers.admin.tokens',
'export' => 'application.controllers.admin.export',
'assessments' =>'application.controllers.admin.assessments',
'checkintegrity' => 'application.controllers.admin.checkintegrity',
'labels' => 'application.controllers.admin.labels',
'htmleditor_pop' => 'application.controllers.admin.htmleditor_pop',
'survey' => 'application.controllers.admin.surveyaction',
'printablesurvey' => 'application.controllers.admin.printablesurvey',
'tokens' => 'application.controllers.admin.tokens',
'surveypermission' => 'application.controllers.admin.surveypermission',
'questiongroup' => 'application.controllers.admin.questiongroup',
'dumpdb' => 'application.controllers.admin.dumpdb',
'question' => 'application.controllers.admin.question',
'database' => 'application.controllers.admin.database',
'statistics' => 'application.controllers.admin.statistics',
Expand Down

0 comments on commit 4a6695e

Please sign in to comment.