]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapisearchjson.php
isReadOnly() now takes arguments
[quix0rs-gnu-social.git] / actions / twitapisearchjson.php
index b50aa86b7ac119a2200d0522671660fc4f50cabe..b0e3be687c1118da16e0f88584911b6a7b786c2e 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Laconica, the distributed open-source microblogging tool
  *
- * List of replies
+ * Action for showing Twitter-like JSON search results
  *
  * PHP version 5
  *
@@ -114,7 +114,7 @@ class TwitapisearchjsonAction extends TwitterapiAction
     function showResults()
     {
 
-        // TODO: Support search operators like from: and to:
+        // TODO: Support search operators like from: and to:, boolean, etc.
 
         $notice = new Notice();
 
@@ -137,12 +137,12 @@ class TwitapisearchjsonAction extends TwitterapiAction
     }
 
     /**
-     * This is a read-only action
+     * Do we need to write to the database?
      *
      * @return boolean true
      */
 
-    function isReadOnly()
+    function isReadOnly($args)
     {
         return true;
     }