|
@@ -44,6 +44,8 @@ class Relation
|
|
|
if ($child) {
|
|
|
foreach ($child as $k => $v) {
|
|
|
|
|
|
+ $this->resetParent($v['to_uid'], $uid);
|
|
|
+ /*
|
|
|
$child_parent = $this->getParentAll($v['to_uid']);
|
|
|
if ($child_parent) {
|
|
|
foreach ($child_parent as $k1 => $v1) {
|
|
@@ -51,7 +53,7 @@ class Relation
|
|
|
Dever::db('invite/relation')->update(array('where_id' => $v['id'], 'uid' => $parent));
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
}
|
|
|
return true;
|