diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 22:46:07 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 22:46:07 +0000 |
| commit | 493c6f6252b2d5303d5ebb45cc3c7edcb2ecb857 (patch) | |
| tree | e6f59a2724bedfa26713683a7b2eea2aa99c8a1f | |
| parent | bfd75b62e90310ad9f3cd8010e5409827b86c78f (diff) | |
| download | blogs-CVS_HEAD.tar.gz blogs-CVS_HEAD.tar.bz2 blogs-CVS_HEAD.zip | |
SCHEMA CHANGE - liberty_content_types - change content_description to content_name, add column content_name_plural - update all class files and hashes where appropriateCVS_HEAD
| -rw-r--r-- | BitBlog.php | 6 | ||||
| -rw-r--r-- | BitBlogPost.php | 8 | ||||
| -rw-r--r-- | admin/schema_inc.php | 6 |
3 files changed, 12 insertions, 8 deletions
diff --git a/BitBlog.php b/BitBlog.php index 7151c88..f0e0839 100644 --- a/BitBlog.php +++ b/BitBlog.php @@ -1,7 +1,7 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/BitBlog.php,v 1.74 2009/04/01 00:38:34 spiderr Exp $ - * @version $Revision: 1.74 $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/BitBlog.php,v 1.75 2010/04/17 22:46:07 wjames5 Exp $ + * @version $Revision: 1.75 $ * @package blogs */ @@ -24,7 +24,7 @@ class BitBlog extends LibertyContent { parent::LibertyContent( $pContentId ); $this->registerContentType( BITBLOG_CONTENT_TYPE_GUID, array( 'content_type_guid' => BITBLOG_CONTENT_TYPE_GUID, - 'content_description' => 'Blog', + 'content_name' => 'Blog', 'handler_class' => 'BitBlog', 'handler_package' => 'blogs', 'handler_file' => 'BitBlog.php', diff --git a/BitBlogPost.php b/BitBlogPost.php index 5e45f66..e168e82 100644 --- a/BitBlogPost.php +++ b/BitBlogPost.php @@ -1,12 +1,12 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_blogs/BitBlogPost.php,v 1.145 2010/04/17 03:45:07 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_blogs/BitBlogPost.php,v 1.146 2010/04/17 22:46:07 wjames5 Exp $ * * Copyright (c) 2004 bitweaver.org * 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: BitBlogPost.php,v 1.145 2010/04/17 03:45:07 wjames5 Exp $ + * $Id: BitBlogPost.php,v 1.146 2010/04/17 22:46:07 wjames5 Exp $ * * Virtual base class (as much as one can have such things in PHP) for all * derived tikiwiki classes that require database access. @@ -16,7 +16,7 @@ * * @author drewslater <andrew@andrewslater.com>, spiderr <spider@steelsun.com> * - * @version $Revision: 1.145 $ $Date: 2010/04/17 03:45:07 $ $Author: wjames5 $ + * @version $Revision: 1.146 $ $Date: 2010/04/17 22:46:07 $ $Author: wjames5 $ */ /** @@ -38,7 +38,7 @@ class BitBlogPost extends LibertyMime { LibertyMime::LibertyMime(); $this->registerContentType( BITBLOGPOST_CONTENT_TYPE_GUID, array( 'content_type_guid' => BITBLOGPOST_CONTENT_TYPE_GUID, - 'content_description' => 'Blog Post', + 'content_name' => 'Blog Post', 'handler_class' => 'BitBlogPost', 'handler_package' => 'blogs', 'handler_file' => 'BitBlogPost.php', diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 4d9ac25..8625d5b 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -126,4 +126,8 @@ $gBitInstaller->registerContentObjects( BLOGS_PKG_NAME, array( 'BitBlogPost'=>BLOGS_PKG_PATH.'BitBlogPost.php' )); -?> +// Requirements +$gBitInstaller->registerRequirements( BLOGS_PKG_NAME, array( + 'liberty' => array( 'min' => '2.1.4' ), +)); + |
