function delete($includingRelatedCommonFields = TRUE) { if (load($this)) { return; } // ha mar nem letezik parent::delete(); if ($this->isCommon && $includingRelatedCommonFields) { // ha egy common fieldet torlunk, az osszes azonos nevut torolni kell: executeQuery("DELETE FROM @customfield WHERE columnIndex=#ci# AND cid!=#cid# AND isCommon=1", $this->columnIndex, $this->cid); CacheManager::resetAllCache(); } ItemSearch::deleteColumn($this); getDbCount($count, "SELECT COUNT(*) FROM @search WHERE uid=0"); if ($count) { Roll::setInfoText("checkCustomLists"); $this->nextAction =& new AppController("customlist/list"); } }