aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-01 13:43:30 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-01 13:43:30 +0100
commit9162586f7124b09b3e4192a11dbda41659d4f519 (patch)
treead6e22b83969c1befa34fe4486fa734d3b38b128
parente11f256bf045da15620dae50806929f758c77e6d (diff)
downloadratatoeskr-cms-9162586f7124b09b3e4192a11dbda41659d4f519.tar.gz
ratatoeskr-cms-9162586f7124b09b3e4192a11dbda41659d4f519.tar.bz2
ratatoeskr-cms-9162586f7124b09b3e4192a11dbda41659d4f519.zip
Renamed some functions.
* User::all_users --> User::all * Group::all_groups --> Group::all
-rw-r--r--ratatoeskr/sys/models.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php
index 892fd2e..b488ebf 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -182,10 +182,10 @@ class User
}
/*
- * Function: all_users
+ * Function: all
* Returns array of all available users.
*/
- public static function all_users()
+ public static function all()
{
$rv = array();
@@ -370,10 +370,10 @@ class Group
}
/*
- * Function: all_groups
+ * Function: all
* Returns array of all groups
*/
- public static function all_groups()
+ public static function all()
{
$rv = array();