diff options
Diffstat (limited to 'includes/db_schema/db_schema_6_7.php')
| -rw-r--r-- | includes/db_schema/db_schema_6_7.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/includes/db_schema/db_schema_6_7.php b/includes/db_schema/db_schema_6_7.php index 82dc89bfad..44e6722b38 100644 --- a/includes/db_schema/db_schema_6_7.php +++ b/includes/db_schema/db_schema_6_7.php @@ -26,13 +26,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - try { - self::exec( + WT_DB::exec( "DROP TABLE `##remotelinks`" ); } catch (PDOException $ex) { @@ -40,7 +35,7 @@ try { } try { - self::exec( + WT_DB::exec( "ALTER TABLE `##sources` DROP INDEX ix2" ); } catch (PDOException $ex) { @@ -48,7 +43,7 @@ try { } try { - self::exec( + WT_DB::exec( "ALTER TABLE `##sources` DROP COLUMN s_dbid" ); } catch (PDOException $ex) { @@ -57,4 +52,3 @@ try { // Update the version to indicate success WT_Site::setPreference($schema_name, $next_version); - |
