diff options
| author | Lester Caine <lester@lsces.co.uk> | 2007-06-16 15:51:06 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2007-06-16 15:51:06 +0000 |
| commit | 89dd6e370b1ff1d6402e93c16c4ab7c78abda8ab (patch) | |
| tree | 9cae5b4db829bbd34e72e5ccd7731d10bcc23264 /edit.php | |
| parent | 9c20ad07bbe26e0190c47803d7b9091464ad7a4d (diff) | |
| download | wiki-89dd6e370b1ff1d6402e93c16c4ab7c78abda8ab.tar.gz wiki-89dd6e370b1ff1d6402e93c16c4ab7c78abda8ab.tar.bz2 wiki-89dd6e370b1ff1d6402e93c16c4ab7c78abda8ab.zip | |
Drop $show_attachments check - replaced by p_liberty_attach_attachments
The bitfile plugin is always loaded so it is always true anyway.
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.36 2007/06/14 21:20:27 nickpalmer Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.37 2007/06/16 15:51:06 lsces Exp $ * * Copyright( c ) 2004 bitweaver.org * Copyright( c ) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: edit.php,v 1.36 2007/06/14 21:20:27 nickpalmer Exp $ + * $Id: edit.php,v 1.37 2007/06/16 15:51:06 lsces Exp $ * @package wiki * @subpackage functions */ @@ -47,13 +47,6 @@ if( $gContent->isLocked() ) { $gBitSystem->fatalError( 'Cannot edit page because it is locked' ); } -// see if we should show the attachments tab at all -foreach( $gLibertySystem->mPlugins as $plugin ) { - if( ( $plugin['plugin_type'] == 'storage' ) && ( $plugin['is_active'] == 'y' ) ) { - $gBitSmarty->assign( 'show_attachments','y' ); - } -} - function extract_section($data,$section) { global $gContent, $gBitSystem; if( $gContent->mInfo['format_guid'] == PLUGIN_GUID_TIKIWIKI ) { |
