projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79c93af
)
DataObjects/Group_Rights.php
author
Alan Knowles
<alan@roojs.com>
Thu, 30 Aug 2012 14:31:03 +0000
(22:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 30 Aug 2012 14:31:03 +0000
(22:31 +0800)
DataObjects/Group_Rights.php
patch
|
blob
|
history
diff --git
a/DataObjects/Group_Rights.php
b/DataObjects/Group_Rights.php
index
c1748fc
..
3e8a66b
100755
(executable)
--- a/
DataObjects/Group_Rights.php
+++ b/
DataObjects/Group_Rights.php
@@
-21,7
+21,7
@@
class Pman_Core_DataObjects_Group_Rights extends DB_DataObject
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
- public $__table = '
Group_R
ights'; // table name
+ public $__table = '
group_r
ights'; // table name
public $rightname; // string(64) not_null
public $group_id; // int(11) not_null
public $accessmask; // string(10) not_null
public $rightname; // string(64) not_null
public $group_id; // int(11) not_null
public $accessmask; // string(10) not_null
@@
-217,7
+217,7
@@
class Pman_Core_DataObjects_Group_Rights extends DB_DataObject
//echo '<PRE>';print_r($defs);
//$usecol = 1;
foreach($defs as $rightname => $defdata) {
//echo '<PRE>';print_r($defs);
//$usecol = 1;
foreach($defs as $rightname => $defdata) {
- $gr = DB_DataObject::Factory('
Group_R
ights');
+ $gr = DB_DataObject::Factory('
group_r
ights');
$gr->rightname = $rightname;
$gr->group_id = $g->id;
if (!$gr->find(true)) {
$gr->rightname = $rightname;
$gr->group_id = $g->id;
if (!$gr->find(true)) {