Jelajahi Sumber

QA: removed spaces

Michael Francis 14 tahun lalu
induk
melakukan
0ff557ec4b
2 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 1
      controllers/UsersController.php
  2. 0 2
      models/User.php

+ 1 - 1
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)
 				{

+ 0 - 2
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;
-
 	}