Made User::loadFromRow protected for sanity
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 26 Mar 2015 05:38:34 +0000 (22:38 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 26 Mar 2015 05:41:42 +0000 (05:41 +0000)
* The loading logic is complex enough without more possible
  entry points to cover
* No outside callers found

Change-Id: I7e9bace35afb0a540993423cf1da98381a516ac5

includes/User.php

index 97eaa5c..46e3474 100644 (file)
@@ -1226,7 +1226,7 @@ class User implements IDBAccessObject {
         *      user_groups             Array with groups out of the user_groups table
         *      user_properties         Array with properties out of the user_properties table
         */
-       public function loadFromRow( $row, $data = null ) {
+       protected function loadFromRow( $row, $data = null ) {
                $all = true;
                $passwordFactory = self::getPasswordFactory();