|
|
@@ -178,12 +178,7 @@ class BxBaseModGeneralDb extends BxDolModuleDb
|
|
|
|
|
|
public function deleteNestedById ($iNestedId, $sTableKey, $sTableName)
|
|
|
{
|
|
|
- return $this->query("DELETE FROM `" . $sTableName . "` WHERE `" . $sTableKey . "` = :item_id", array('item_id' => $iNestedId));
|
|
|
- }
|
|
|
-
|
|
|
- public function getNested ($iContentId, $sTableKey, $sTableName)
|
|
|
- {
|
|
|
- return $this->getAllWithKey("SELECT `" . $sTableName . "`.* FROM `" . $sTableName . "` WHERE `item_id` = :item_id", $sTableKey, array('item_id' => $iContentId));
|
|
|
+ return $this->query("DELETE FROM `" . $sTableName . "` WHERE `" . $sTableKey . "` = :item_id", array('content_id' => $iNestedId));
|
|
|
}
|
|
|
|
|
|
function getNestedBy($aParams = array(), $sTableName)
|