mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-19 03:59:18 -04:00
Update database query.
This commit is contained in:
@@ -19,7 +19,10 @@
|
||||
*/
|
||||
class g2_import_event_Core {
|
||||
static function item_deleted($item) {
|
||||
Database::instance()->delete("g2_maps", array("g3_id" => $item->id));
|
||||
db::build()
|
||||
->delete("g2_maps")
|
||||
->where("g3_id", "=", $item->id)
|
||||
->execute();
|
||||
}
|
||||
|
||||
static function item_created($item) {
|
||||
|
||||
Reference in New Issue
Block a user