From 64eb5c2ffe65eb7cc5c058ffc62c840a745f8856 Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Mon, 31 May 2010 14:42:55 +0000 Subject: move liberty_attachment_tags to tags package and rename to tags_image_areas --- admin/upgrades/2.1.5.php | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 admin/upgrades/2.1.5.php (limited to 'admin') diff --git a/admin/upgrades/2.1.5.php b/admin/upgrades/2.1.5.php deleted file mode 100644 index 599a4ab..0000000 --- a/admin/upgrades/2.1.5.php +++ /dev/null @@ -1,39 +0,0 @@ - LIBERTY_PKG_NAME, - 'version' => str_replace( '.php', '', basename( __FILE__ )), - 'description' => "This upgrade adds a table for storing area tags for image files.", - 'post_upgrade' => NULL, -); -$gBitInstaller->registerPackageUpgrade( $infoHash, array( - -array( 'DATADICT' => array( - array( 'CREATE' => array( - 'liberty_attachment_tags' => " - comment_id I4 PRIMARY NOTNULL, - attachment_id I4 PRIMARY NOTNULL, - tag_top I4 DEFAULT 0 NOTNULL , - tag_left I4 DEFAULT 0 NOTNULL , - tag_width I4 DEFAULT 100 NOTNULL , - tag_height I4 DEFAULT 100 NOTNULL - CONSTRAINT ' - , CONSTRAINT `lib_attachment_tag_id_ref` FOREIGN KEY (`attachment_id`) REFERENCES `".BIT_DB_PREFIX."liberty_attachments` (`attachment_id`) - , CONSTRAINT `lib_attachment_tag_cid_ref` FOREIGN KEY (`comment_id`) REFERENCES `".BIT_DB_PREFIX."liberty_comments` (`comment_id`) ' - ", - )), -)), - -array( 'PHP' => ' - // make sure plugins are up to date. - global $gLibertySystem; - $gLibertySystem->scanAllPlugins(); -' -) - -)); -?> -- cgit v1.3