public function remove($key, $object) { if ($this->key($key) == 'hosts' || $this->key($key) == 'hostsnotinme') { $this->loadHosts(); } // Remove return parent::remove($key, $object); }
public function remove($key, $object) { if ($this->key($key) == 'mac') { $this->loadPrimary(); } else { if ($this->key($key) == 'additionalMACs') { $this->loadAdditional(); } else { if ($this->key($key) == 'pendingMACs') { $this->loadPending(); } else { if (in_array($this->key($key), array('printers', 'printersnotinme'))) { $this->loadPrinters(); } else { if (in_array($this->key($key), array('snapins', 'snapinsnotinme'))) { $this->loadSnapins(); } else { if ($this->key($key) == 'snapinjob') { $this->loadSnapinJob(); } else { if ($this->key($key) == 'modules') { $this->loadModules(); } else { if (in_array($this->key($key), array('groups', 'groupsnotinme'))) { $this->loadGroups(); } else { if ($this->key($key) == 'users') { $this->loadUsers(); } } } } } } } } } // Remove return parent::remove($key, $object); }
public function remove($key, $object) { if ($this->key($key) == 'hosts' || $this->key($key) == 'hostsnotinme') { $this->loadHosts(); } else { if ($this->key($key) == 'storageGroups') { $this->loadGroups(); } } // Remove return parent::remove($key, $object); }