[Fusionforge-commits] r11753 - in trunk/src/plugins/wiki/www/lib: WikiDB plugin

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Thu Dec 9 20:46:46 CET 2010


Author: vargenau
Date: 2010-12-09 20:46:46 +0100 (Thu, 09 Dec 2010)
New Revision: 11753

Modified:
   trunk/src/plugins/wiki/www/lib/WikiDB/backend.php
   trunk/src/plugins/wiki/www/lib/plugin/CreateBib.php
Log:
Update from Phpwiki

Modified: trunk/src/plugins/wiki/www/lib/WikiDB/backend.php
===================================================================
--- trunk/src/plugins/wiki/www/lib/WikiDB/backend.php	2010-12-09 19:44:27 UTC (rev 11752)
+++ trunk/src/plugins/wiki/www/lib/WikiDB/backend.php	2010-12-09 19:46:46 UTC (rev 11753)
@@ -1,5 +1,24 @@
-<?php // -*-php-*-
-// rcs_id('$Id: backend.php 7638 2010-08-11 11:58:40Z vargenau $');
+<?php
+// $Id: backend.php 7754 2010-12-09 09:55:08Z vargenau $
+/*
+ * Copyright 2004-2010 Reini Urban
+ *
+ * This file is part of PhpWiki.
+ *
+ * PhpWiki is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * PhpWiki is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with PhpWiki; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
 
 /*
   Pagedata
@@ -183,7 +202,7 @@
     }
 
     /**
-     * Delete page (and all it's revisions) from the database.
+     * Delete page (and all its revisions) from the database.
      *
      */
     function purge_page($pagename) {

Modified: trunk/src/plugins/wiki/www/lib/plugin/CreateBib.php
===================================================================
--- trunk/src/plugins/wiki/www/lib/plugin/CreateBib.php	2010-12-09 19:44:27 UTC (rev 11752)
+++ trunk/src/plugins/wiki/www/lib/plugin/CreateBib.php	2010-12-09 19:46:46 UTC (rev 11753)
@@ -1,5 +1,5 @@
 <?php // -*-php-*-
-// rcs_id('$Id: CreateBib.php 7638 2010-08-11 11:58:40Z vargenau $');
+// rcs_id('$Id: CreateBib.php 7760 2010-12-09 15:07:23Z vargenau $');
 /*
  * Copyright 2004 $ThePhpWikiProgrammingTeam
  *
@@ -46,12 +46,6 @@
                       );
     }
 
-    function preg_quote ($heading) {
-        return str_replace(array("/",".","?","*"),
-                               array('\/','\.','\?','\*'), $heading);
-    }
-
-
     // Have to include the $starttag and $endtag to the regexps...
     function extractBibTeX (&$content, $starttag, $endtag)
     {




More information about the Fusionforge-commits mailing list