Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27989
Modified Files:
Tag: branch-smarty
serendipity_admin_plugins.inc.php
Log Message:
- A plugin should not be deemed stackable, not matter which user it is assigned to
Index: serendipity_admin_plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_plugins.inc.php,v
retrieving revision 1.44.2.5
retrieving revision 1.44.2.6
diff -u -d -r1.44.2.5 -r1.44.2.6
--- serendipity_admin_plugins.inc.php 29 Oct 2004 11:02:32 -0000 1.44.2.5
+++ serendipity_admin_plugins.inc.php 30 Oct 2004 15:39:25 -0000 1.44.2.6
@@ -501,7 +501,7 @@
'class_name' => get_class($plugin),
'name' => $bag->get('name'),
'desc' => $bag->get('description'),
- 'installable' => !($bag->get('stackable') === false && in_array($class_name, $plugins) && ($plugin->serendipity_owner == $serendipity['authorid'] || $plugin->serendipity_owner == 0)),
+ 'installable' => !($bag->get('stackable') === false && in_array($class_name, $plugins)),
'author' => $bag->get('author'),
'version' => $bag->get('version'),
'website' => $bag->get('website'));
|