فهرست منبع

Spelling mistake

Michael Francis 14 سال پیش
والد
کامیت
6891dc094d
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      controllers/UsersController.php

+ 2 - 3
controllers/UsersController.php

@@ -9,12 +9,11 @@ use app\models\ProfilePic;
 use app\models\Post;
 use lithium\security\Auth;
 use lithium\util\String;
-use \MongoDate;
 use li3_flash_message\extensions\storage\FlashMessage;
 use lithium\template\helper\Html;
 
 class UsersController extends \lithium\action\Controller {
-	public $secret = "marshmellows"; //I don't know why either?
+	public $secret = "marshmallows"; //I don't know why either?
 	
 	//Make login a public action.
 	public $publicActions = array('login', 'logout', 'signup', 'confirm');
@@ -33,7 +32,7 @@ class UsersController extends \lithium\action\Controller {
 	 * Of course, for logged in users, we need to do a multiselect I guess, something like find posts where access level is hidden
 	 * friends only, and public, ordered by date (descending) limit 20 or so (use pagination plugin)
 	 *
-	 * Finally, there should be an an option to make all posts private, this can be done by the postlevel() method, it can check i
+	 * Finally, there should be an an option to make all posts private, this can be done by the postlevel() method, it can check if
 	 * the user has the private option set, then if true return private for all posts :)
 	  */