summaryrefslogtreecommitdiffstats
path: root/lib/user
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
committerJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
commitbafd684eb694ed0bd86b46ff7cd36382c1cebc34 (patch)
treec3bb1e013d563263002d052eb41032076a36a5f9 /lib/user
parent220132ca237f5077f5145bf327e8528a652ad559 (diff)
downloadnextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.tar.gz
nextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.zip
Renaming classes :-)
Diffstat (limited to 'lib/user')
-rw-r--r--lib/user/backend.php4
-rw-r--r--lib/user/database.php4
-rw-r--r--lib/user/example.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/user/backend.php b/lib/user/backend.php
index 1797d0c475a..4afdf152150 100644
--- a/lib/user/backend.php
+++ b/lib/user/backend.php
@@ -41,9 +41,9 @@ define('OC_USER_BACKEND_USER_EXISTS', 0x100000);
/**
* abstract base class for user management
- * subclass this for your own backends and see OC_USER_EXAMPLE for descriptions
+ * subclass this for your own backends and see OC_User_Example for descriptions
*/
-abstract class OC_USER_BACKEND {
+abstract class OC_User_Backend {
protected $possibleActions = array(
OC_USER_BACKEND_CREATE_USER => 'createUser',
diff --git a/lib/user/database.php b/lib/user/database.php
index ace3c897703..4992c2aa164 100644
--- a/lib/user/database.php
+++ b/lib/user/database.php
@@ -36,7 +36,7 @@
/**
* Class for user management in a SQL Database (e.g. MySQL, SQLite)
*/
-class OC_USER_DATABASE extends OC_USER_BACKEND {
+class OC_User_Database extends OC_User_Backend {
static private $userGroupCache=array();
/**
@@ -45,7 +45,7 @@ class OC_USER_DATABASE extends OC_USER_BACKEND {
* @param $password The password of the new user
* @returns true/false
*
- * Creates a new user. Basic checking of username is done in OC_USER
+ * Creates a new user. Basic checking of username is done in OC_User
* itself, not in its subclasses.
*/
public function createUser( $uid, $password ){
diff --git a/lib/user/example.php b/lib/user/example.php
index 069f14492a4..7481014de77 100644
--- a/lib/user/example.php
+++ b/lib/user/example.php
@@ -25,14 +25,14 @@
* abstract reference class for user management
* this class should only be used as a reference for method signatures and their descriptions
*/
-abstract class OC_USER_EXAMPLE extends OC_USER_BACKEND {
+abstract class OC_User_Example extends OC_User_Backend {
/**
* @brief Create a new user
* @param $uid The username of the user to create
* @param $password The password of the new user
* @returns true/false
*
- * Creates a new user. Basic checking of username is done in OC_USER
+ * Creates a new user. Basic checking of username is done in OC_User
* itself, not in its subclasses.
*/
public function createUser($uid, $password){