Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #815

Merged
merged 9 commits into from
Aug 1, 2016
Prev Previous commit
Next Next commit
Converted indentation to spaces in AdminController
  • Loading branch information
Slaveek committed Dec 31, 2015
commit 8fcb01b57aa5117efd482d60c918b33486af83cd
20 changes: 10 additions & 10 deletions application/controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ public function __construct()
*/
public function index()
{
$this->View->render('admin/index', array(
'users' => UserModel::getPublicProfilesOfAllUsers())
);
$this->View->render('admin/index', array(
'users' => UserModel::getPublicProfilesOfAllUsers())
);
}

public function actionAccountSettings()
{
AdminModel::setAccountSuspensionAndDeletionStatus(
Request::post('suspension'), Request::post('softDelete'), Request::post('user_id')
);
public function actionAccountSettings()
{
AdminModel::setAccountSuspensionAndDeletionStatus(
Request::post('suspension'), Request::post('softDelete'), Request::post('user_id')
);

Redirect::to("admin");
}
Redirect::to("admin");
}
}