summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 22:46:11 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 22:46:11 +0000
commit80f4521a70bcfdaf3432951ea3734f20617a3015 (patch)
tree06f2dfaa925f79b34d9acd725b3e0233558a043d
parent3d620c3a899e3c6a0073c6147d7c2a5395499683 (diff)
downloadwiki-80f4521a70bcfdaf3432951ea3734f20617a3015.tar.gz
wiki-80f4521a70bcfdaf3432951ea3734f20617a3015.tar.bz2
wiki-80f4521a70bcfdaf3432951ea3734f20617a3015.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--BitBook.php8
-rw-r--r--BitPage.php8
-rw-r--r--admin/schema_inc.php6
3 files changed, 13 insertions, 9 deletions
diff --git a/BitBook.php b/BitBook.php
index 03a2f03..82700d0 100644
--- a/BitBook.php
+++ b/BitBook.php
@@ -3,7 +3,7 @@
* BitBook class
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
* @package wiki
*/
// +----------------------------------------------------------------------+
@@ -18,7 +18,7 @@
// | Authors: spider <spider@steelsun.com>
// +----------------------------------------------------------------------+
//
-// $Id: BitBook.php,v 1.13 2009/10/01 14:17:07 wjames5 Exp $
+// $Id: BitBook.php,v 1.14 2010/04/17 22:46:11 wjames5 Exp $
/**
@@ -34,7 +34,7 @@ define('BITBOOK_CONTENT_TYPE_GUID', 'bitbook' );
*
* @abstract
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
* @package wiki
*/
class BitBook extends BitPage {
@@ -44,7 +44,7 @@ class BitBook extends BitPage {
BitPage::BitPage( $pPageId, $pContentId );
$this->registerContentType( BITBOOK_CONTENT_TYPE_GUID, array(
'content_type_guid' => BITBOOK_CONTENT_TYPE_GUID,
- 'content_description' => 'Wiki Book',
+ 'content_name' => 'Wiki Book',
'handler_class' => 'BitBook',
'handler_package' => 'wiki',
'handler_file' => 'BitBook.php',
diff --git a/BitPage.php b/BitPage.php
index 407985b..5e4e34d 100644
--- a/BitPage.php
+++ b/BitPage.php
@@ -1,11 +1,11 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_wiki/BitPage.php,v 1.124 2010/02/11 10:16:39 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_wiki/BitPage.php,v 1.125 2010/04/17 22:46:11 wjames5 Exp $
* @package wiki
*
* @author spider <spider@steelsun.com>
*
- * @version $Revision: 1.124 $ $Date: 2010/02/11 10:16:39 $ $Author: squareing $
+ * @version $Revision: 1.125 $ $Date: 2010/04/17 22:46:11 $ $Author: wjames5 $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -13,7 +13,7 @@
* All Rights Reserved. See below for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
*
- * $Id: BitPage.php,v 1.124 2010/02/11 10:16:39 squareing Exp $
+ * $Id: BitPage.php,v 1.125 2010/04/17 22:46:11 wjames5 Exp $
*/
/**
@@ -32,7 +32,7 @@ class BitPage extends LibertyMime {
LibertyMime::LibertyMime();
$this->registerContentType( BITPAGE_CONTENT_TYPE_GUID, array(
'content_type_guid' => BITPAGE_CONTENT_TYPE_GUID,
- 'content_description' => 'Wiki Page',
+ 'content_name' => 'Wiki Page',
'handler_class' => 'BitPage',
'handler_package' => 'wiki',
'handler_file' => 'BitPage.php',
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 8f4bc99..beed09a 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -138,4 +138,8 @@ $gBitInstaller->registerContentObjects( WIKI_PKG_NAME, array(
'BitPage' => WIKI_PKG_PATH.'BitPage.php',
'BitBook' => WIKI_PKG_PATH.'BitBook.php',
));
-?>
+
+// Requirements
+$gBitInstaller->registerRequirements( WIKI_PKG_NAME, array(
+ 'liberty' => array( 'min' => '2.1.4' ),
+));