summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--controllers/UsersController.php2
-rw-r--r--models/User.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/controllers/UsersController.php b/controllers/UsersController.php
index 8ee5079..01ec06a 100644
--- a/controllers/UsersController.php
+++ b/controllers/UsersController.php
@@ -315,7 +315,7 @@ class UsersController extends \lithium\action\Controller {
{
return $this->redirect('/pages/banned');
}
-
+
//If the user was trying to go somewhere, redirect them there
if ($location != null)
{
diff --git a/models/User.php b/models/User.php
index 1c1fe64..82a1a9a 100644
--- a/models/User.php
+++ b/models/User.php
@@ -91,7 +91,6 @@ class User extends \lithium\data\Model {
joindate = today,
accesslevel = "user"
*/
-
public function updateuser($entity, $data)
{
$conditions = array('_id' => $entity->_id, 'state' => 'default');
@@ -322,7 +321,6 @@ class User extends \lithium\data\Model {
$conditions = array('_id' => $entity['_id']);
$result = User::update($updateData, $conditions, array('atomic' => false));
return $result;
-
}