From: Vincent Zanotti Date: Sun, 15 Jun 2008 14:49:35 +0000 (+0200) Subject: Renames CoreUser to PlUser to comply with platal-core coding rules. X-Git-Tag: xorg/0.10.0~86^2~89 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2d96cf7b8e6a4362efbfc35bb129c39f8ca4cdaa;p=platal.git Renames CoreUser to PlUser to comply with platal-core coding rules. Signed-off-by: Vincent Zanotti --- diff --git a/classes/coreuser.php b/classes/pluser.php similarity index 98% rename from classes/coreuser.php rename to classes/pluser.php index 742b3a1..d80cb42 100644 --- a/classes/coreuser.php +++ b/classes/pluser.php @@ -19,7 +19,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -// UserNotFound is raised when a given id cannot be linked to an existing user. +// PlUserNotFound is raised when a given id cannot be linked to an existing user. // The @p results give the list hruids (useful when several users are found). class UserNotFoundException extends Exception { @@ -33,8 +33,8 @@ class UserNotFoundException extends Exception // Represents an user of the system, with a special focus on its identification // (hruid, forlife, and bestalias). // Note: each implementation of platal-core MUST create a subclass 'User' of -// this abstract CoreUser class. -abstract class CoreUser +// this abstract PlUser class. +abstract class PlUser { // User's data storage. By convention, null means the information hasn't // been fetched yet, and false means the information is not available. diff --git a/classes/user.php b/classes/user.php index 512eeca..99fcc13 100644 --- a/classes/user.php +++ b/classes/user.php @@ -19,7 +19,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -class User extends CoreUser +class User extends PlUser { }