summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 22:46:07 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 22:46:07 +0000
commitb26fa67ce472c344a81c63674f7b90c0ed3f1485 (patch)
treeeb20cc74171e0cd0698cea5451e67d35389763e9
parent31d04c781bd608298167e095aded904f0281fa86 (diff)
downloadcalendar-b26fa67ce472c344a81c63674f7b90c0ed3f1485.tar.gz
calendar-b26fa67ce472c344a81c63674f7b90c0ed3f1485.tar.bz2
calendar-b26fa67ce472c344a81c63674f7b90c0ed3f1485.zip
SCHEMA CHANGE - liberty_content_types - change content_description to content_name, add column content_name_plural - update all class files and hashes where appropriate
-rw-r--r--admin/schema_inc.php6
-rw-r--r--box.php8
2 files changed, 6 insertions, 8 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 7d1c080..51311de 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -23,4 +23,8 @@ $gBitInstaller->registerUserPermissions( CALENDAR_PKG_NAME, array(
// this empty table registration is needed for the installer to pick it up to install the preferences
$gBitInstaller->registerSchemaTable( CALENDAR_PKG_NAME, '', '' );
-?>
+
+// Requirements
+$gBitInstaller->registerRequirements( CALENDAR_PKG_NAME, array(
+ 'liberty' => array( 'min' => '2.1.4' ),
+));
diff --git a/box.php b/box.php
index 1dffba7..a3c72cc 100644
--- a/box.php
+++ b/box.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_calendar/box.php,v 1.9 2010/04/17 15:36:06 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_calendar/box.php,v 1.10 2010/04/17 22:46:07 wjames5 Exp $
* @package calendar
* @subpackage functions
*
@@ -19,12 +19,6 @@ include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
$gContent->mInfo['rendered'] = $gContent->getPreview();
-/* DEPRECATED content type name is immediately accessible via gLibertySystem in the tpl
-if (!empty($gContent->mInfo['content_type_guid'])) {
- $gContent->mInfo['content_description'] = $gLibertySystem->getContentTypeName( $gContent->mInfo['content_type_guid'] );
-}
-*/
-
$gBitSmarty->assign('cellHash', $gContent->mInfo);
$gBitSmarty->display( "bitpackage:calendar/calendar_box.tpl" );