Skip to content
This repository

Fix some doc block issues in JUser #1708

Merged
merged 1 commit into from over 1 year ago

2 participants

elinw Louis Landry
elinw

No description provided.

Louis Landry LouisLandry merged commit f9c8035 into from November 21, 2012
Louis Landry LouisLandry closed this November 21, 2012
elinw elinw deleted the branch January 06, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 22, 2012
elinw Update libraries/joomla/user/user.php ec18085
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  libraries/joomla/user/user.php
6  libraries/joomla/user/user.php
@@ -35,7 +35,7 @@ class JUser extends JObject
35 35
 	public $id = null;
36 36
 
37 37
 	/**
38  
-	 * The users real name (or nickname)
  38
+	 * The user's real name (or nickname)
39 39
 	 * @var    string
40 40
 	 * @since  11.1
41 41
 	 */
@@ -416,6 +416,7 @@ public function getAuthorisedViewLevels()
416 416
 
417 417
 		return $this->_authLevels;
418 418
 	}
  419
+
419 420
 	/**
420 421
 	 * Gets an array of the authorised user groups
421 422
 	 *
@@ -437,6 +438,7 @@ public function getAuthorisedGroups()
437 438
 
438 439
 		return $this->_authGroups;
439 440
 	}
  441
+
440 442
 	/**
441 443
 	 * Pass through method to the table for setting the last visit date
442 444
 	 *
@@ -526,7 +528,7 @@ public function bind(&$array)
526 528
 				$array['password2'] = $array['password'];
527 529
 			}
528 530
 
529  
-			// TODO: Backend controller checks the password, frontend doesn't but should.
  531
+			// Not all controllers check the password, although they should.
530 532
 			// Hence this code is required:
531 533
 			if (isset($array['password2']) && $array['password'] != $array['password2'])
532 534
 			{
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.