projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6899a2f
)
DataObjects/Core_groups.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Oct 2016 04:34:33 +0000
(12:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Oct 2016 04:34:33 +0000
(12:34 +0800)
DataObjects/Core_groups.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_groups.php
b/DataObjects/Core_groups.php
index
735dcc0
..
cc6649e
100644
(file)
--- a/
DataObjects/Core_groups.php
+++ b/
DataObjects/Core_groups.php
@@
-164,7
+164,7
@@
class Pman_Core_DataObjects_Groups extends DB_DataObject
function initGroups()
{
- $g = DB_DataObject::factory(
'Groups'
);
+ $g = DB_DataObject::factory(
$this->tableName()
);
$g->type = 0;
$g->name = 'Administrators';
if ($g->count()) {
@@
-180,7
+180,7
@@
class Pman_Core_DataObjects_Groups extends DB_DataObject
$this->initGroups();
foreach($data as $gi) {
- $g = DB_DataObject::factory(
'Groups'
);
+ $g = DB_DataObject::factory(
$this->tableName()
);
$g->setFrom($gi);
if(!$g->find(true)){