Readded web migrate

This commit is contained in:
Lucas Bartholemy 2015-06-25 19:55:49 +02:00
parent 6f59e05393
commit e299fae8a2

View File

@ -520,11 +520,7 @@ class SettingController extends Controller
*/
public function actionSelfTest()
{
#Yii::import('application.commands.shell.HUpdateCommand');
#$migrate = HUpdateCommand::AutoUpdate();
$migrate = "Auto Migrate Disabled";
return $this->render('selftest', array('checks' => \humhub\libs\SelfTest::getResults(), 'migrate' => $migrate));
return $this->render('selftest', array('checks' => \humhub\libs\SelfTest::getResults(), 'migrate' => \humhub\commands\MigrateController::webMigrateAll()));
}
}