changeset 5815:a7b3ccda38d8

MoinMoin.xmlrpc: reverted 83fe7e86cc0b
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 25 Dec 2011 23:33:14 +0100
parents 7d636ee769da
children b661a89ef0be
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Sun Dec 25 16:43:04 2011 +0100
+++ b/MoinMoin/xmlrpc/__init__.py	Sun Dec 25 23:33:14 2011 +0100
@@ -447,19 +447,6 @@
             'version': version,
             }
 
-    def xmlrpc_get_format(self, pagename):
-        """
-        Returns format of a page
-        """
-        # User may read page?
-        if not self.request.user.may.read(pagename):
-            return self.notAllowedFault()
-        page = Page(self.request, pagename)
-        if not page.exists():
-            return xmlrpclib.Fault("NOT_EXIST", "Page does not exist.")
-        format = page.pi['format']
-        return self._outstr(format)
-
     def xmlrpc_getPage(self, pagename):
         """
         Invoke xmlrpc_getPageVersion with rev=None