diff --git a/lib/classes/User/Adapter.php b/lib/classes/User/Adapter.php index e4a328cabf..2913ffad4a 100644 --- a/lib/classes/User/Adapter.php +++ b/lib/classes/User/Adapter.php @@ -1019,11 +1019,6 @@ class User_Adapter implements User_Interface, cache_cacheableInterface $stmt->execute(array(':usr_id' => $this->get_id())); $stmt->closeCursor(); - $sql = 'DELETE FROM ssel WHERE usr_id = :usr_id'; - $stmt = $this->app['phraseanet.appbox']->get_connection()->prepare($sql); - $stmt->execute(array(':usr_id' => $this->get_id())); - $stmt->closeCursor(); - unset(self::$_instance[$this->get_id()]); return; diff --git a/lib/classes/collection.php b/lib/classes/collection.php index f22d97259a..f378c3bd37 100644 --- a/lib/classes/collection.php +++ b/lib/classes/collection.php @@ -518,11 +518,6 @@ class collection implements cache_cacheableInterface $stmt->execute($params); $stmt->closeCursor(); - $sql = "DELETE FROM sselcont WHERE base_id = :base_id"; - $stmt = $app['phraseanet.appbox']->get_connection()->prepare($sql); - $stmt->execute($params); - $stmt->closeCursor(); - $sql = "DELETE FROM bas WHERE base_id = :base_id"; $stmt = $app['phraseanet.appbox']->get_connection()->prepare($sql); $stmt->execute($params); diff --git a/lib/conf.d/bases_structure.xml b/lib/conf.d/bases_structure.xml index 585120eaa4..c94c838aa1 100644 --- a/lib/conf.d/bases_structure.xml +++ b/lib/conf.d/bases_structure.xml @@ -3251,143 +3251,6 @@ InnoDB - - - - - - - - - - ssel_id - int(11) unsigned - - auto_increment - - - - - usr_id - int(11) unsigned - - - - - 0 - - - - name - - char(50) - - - - 0 - - - - - pushFrom - int(11) unsigned - - - - 0 - - - - - date - datetime - - - - - 0000-00-00 00:00:00 - - - - descript - text - - - - - - - - - temporaryType - tinyint(1) unsigned - - - - - 0 - - - - rid - - int(11) - - - - 0 - - - - - sbas_id - int(11) unsigned - - - - 0 - - - - - status - int(4) unsigned - - - - - 0 - - - - updater - datetime - - - - - 0000-00-00 00:00:00 - - - - - - PRIMARY - PRIMARY - - ssel_id - - - - usr - INDEX - - usr_id - - - - InnoDB -
@@ -3440,86 +3303,6 @@ InnoDB
- - - - - sselcont_id - int(11) unsigned - - auto_increment - - - - - ssel_id - int(11) unsigned - - - - - 0 - - - - base_id - - int(11) unsigned - - - - 0 - - - - - record_id - int(11) unsigned - - - - 0 - - - - - ord - int(11) unsigned - - - - - 0 - - - - - - PRIMARY - PRIMARY - - sselcont_id - - - - ssel_ssel_id - UNIQUE - - ssel_id - base_id - record_id - - - - ssel_id - INDEX - - ssel_id - - - - InnoDB -