From 3e3fa5e4b7cd930d46bb593421030712ac06fbf5 Mon Sep 17 00:00:00 2001 From: rurban Date: Fri, 21 Jan 2005 14:07:50 +0000 Subject: [PATCH] reformatting git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4404 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/WikiUser.php | 7 +++++-- lib/XMLRPC/xmlrpcs_emu.inc | 4 ++-- lib/editpage.php | 10 +++++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/lib/WikiUser.php b/lib/WikiUser.php index 5a0835305..5b1c7ed85 100644 --- a/lib/WikiUser.php +++ b/lib/WikiUser.php @@ -1,5 +1,5 @@ _request,$userid,$authlevel); + $user = new WikiUser($this->_request, $userid, $authlevel); return $user; } @@ -741,6 +741,9 @@ class UserPreferences { } // $Log: not supported by cvs2svn $ +// Revision 1.62 2004/11/21 11:59:16 rurban +// remove final \n to be ob_cache independent +// // Revision 1.61 2004/10/21 21:02:04 rurban // fix seperate page login // diff --git a/lib/XMLRPC/xmlrpcs_emu.inc b/lib/XMLRPC/xmlrpcs_emu.inc index cc669edca..dc1597447 100644 --- a/lib/XMLRPC/xmlrpcs_emu.inc +++ b/lib/XMLRPC/xmlrpcs_emu.inc @@ -41,7 +41,7 @@ Notes: // by Edd Dumbill (C) 1999,2000 // -// $Id: xmlrpcs_emu.inc,v 1.2 2004-12-10 02:36:43 rurban Exp $ +// $Id: xmlrpcs_emu.inc,v 1.3 2005-01-21 14:07:50 rurban Exp $ // License is granted to use or modify this software ("XML-RPC for PHP") // for commercial or non-commercial use provided the copyright of the author @@ -187,7 +187,7 @@ class xmlrpc_server { // it's no longer necessary, but we keep it around in case // people are calling it directly from applications. function parseRequest($data="") { - global $_xh,$HTTP_RAW_POST_DATA; + global $_xh, $HTTP_RAW_POST_DATA; global $xmlrpcerr, $xmlrpcstr, $xmlrpcerrxml, $xmlrpc_defencoding; diff --git a/lib/editpage.php b/lib/editpage.php index 58182dc83..5a48d68ab 100644 --- a/lib/editpage.php +++ b/lib/editpage.php @@ -1,5 +1,5 @@ tokens = array(); - $version = $request->getArg('version'); + $version = $request->getArg('version'); if ($version !== false) { $this->selected = $this->page->getRevision($version); $this->version = $version; @@ -463,7 +463,8 @@ function undo_save() { // Save new revision $this->_content = $this->getContent(); $newrevision = $page->save($this->_content, - $this->version == -1 ? -1 : $this->_currentVersion + 1, // force new? + $this->version == -1 ? -1 : $this->_currentVersion + 1, + // force new? $meta); if (!isa($newrevision, 'WikiDB_PageRevision')) { // Save failed. (Concurrent updates). @@ -907,6 +908,9 @@ extends PageEditor /** $Log: not supported by cvs2svn $ + Revision 1.88 2004/12/17 16:39:03 rurban + minor reformatting + Revision 1.87 2004/12/16 18:28:05 rurban keep wikiblog summary = page title -- 2.45.0