projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb094b8
)
DataObjects/Person.php
author
Edward
<edward@roojs.com>
Mon, 24 Nov 2014 07:53:50 +0000
(15:53 +0800)
committer
Edward
<edward@roojs.com>
Mon, 24 Nov 2014 07:53:50 +0000
(15:53 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
9b621fd
..
8d3a809
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-599,7
+599,6
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
//DB_DataObject::debugLevel(1);
$g = DB_DataObject::Factory('group_members');
$g->whereAdd('group_id is NOT NULL AND user_id IS NOT NULL');
- print_r($g->count());exit;
if (!$g->count()) {
// add the current user to the admin group..
$g = DB_DataObject::Factory('Groups');