[geeklog-cvs] geeklog: We don't need the XMLSitemap feature and Admin group (yet)

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun May 17 14:20:17 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/3820f9fa0da8
changeset: 7036:3820f9fa0da8
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun May 17 19:01:40 2009 +0200
description:
We don't need the XMLSitemap feature and Admin group (yet)

diffstat:

2 files changed, 5 insertions(+), 22 deletions(-)
plugins/xmlsitemap/autoinstall.php |   23 +++--------------------
plugins/xmlsitemap/functions.inc   |    4 ++--

diffs (58 lines):

diff -r 55ce3b9ba68c -r 3820f9fa0da8 plugins/xmlsitemap/autoinstall.php
--- a/plugins/xmlsitemap/autoinstall.php	Sun May 17 17:22:18 2009 +0200
+++ b/plugins/xmlsitemap/autoinstall.php	Sun May 17 19:01:40 2009 +0200
@@ -47,9 +47,7 @@
 {
     $pi_name         = 'xmlsitemap';
     $pi_display_name = 'XMLSitemap';
-    $pi_admin        = $pi_display_name . ' Admin';
-    $feature         = 'xmlsitemap.edit';
-    
+
     $info = array(
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
@@ -57,26 +55,11 @@
         'pi_gl_version'   => '1.6.0',
         'pi_homepage'     => 'http://www.geeklog.net/',
     );
-    
-    $groups = array(
-        $pi_admin => 'Users in this group can administer the ' . $pi_display_name . ' plugin'
-    );
-    $features = array(
-        $feature => 'Access to ' . $pi_admin,
-    );
-    $mappings = array(
-        $feature => array($pi_admin),
-    );
-    $tables = array();
-    
+
     $inst_parms = array(
         'info'      => $info,
-        'groups'    => $groups,
-        'features'  => $features,
-        'mappings'  => $mappings,
-        'tables'    => $tables,
     );
-    
+
     return $inst_parms;
 }
 
diff -r 55ce3b9ba68c -r 3820f9fa0da8 plugins/xmlsitemap/functions.inc
--- a/plugins/xmlsitemap/functions.inc	Sun May 17 17:22:18 2009 +0200
+++ b/plugins/xmlsitemap/functions.inc	Sun May 17 19:01:40 2009 +0200
@@ -122,9 +122,9 @@
         /* give the name of the tables, without $_TABLES[] */
         'tables' => array(),
         /* give the full name of the group, as in the db */
-        'groups' => array('XMLSitemap Admin'),
+        'groups' => array(),
         /* give the full name of the feature, as in the db */
-        'features' => array('xmlsitemap.edit'),
+        'features' => array(),
         /* give the full name of the block, including 'phpblock_', etc */
         'php_blocks' => array(),
         /* give all vars with their name */



More information about the geeklog-cvs mailing list