From 2d96cf7b8e6a4362efbfc35bb129c39f8ca4cdaa Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sun, 15 Jun 2008 16:49:35 +0200 Subject: [PATCH] Renames CoreUser to PlUser to comply with platal-core coding rules. Signed-off-by: Vincent Zanotti --- classes/{coreuser.php => pluser.php} | 6 +++--- classes/user.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename classes/{coreuser.php => pluser.php} (98%) 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 { } -- 2.1.4