]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
QnA - Whoops - this actually removes the unused function mentioned in the last commit
authorZach Copley <zach@status.net>
Tue, 5 Apr 2011 01:06:29 +0000 (18:06 -0700)
committerZach Copley <zach@status.net>
Tue, 5 Apr 2011 01:06:29 +0000 (18:06 -0700)
plugins/QnA/QnAPlugin.php

index 38fd85e26a1f7e41a91838a0830095ed53763371..fe429750655a795ab7793045297fe3b8f43af272 100644 (file)
@@ -279,24 +279,6 @@ class QnAPlugin extends MicroAppPlugin
         return $obj;
     }
 
-    /**
-     * Change the verb on Answer notices
-     *
-     * @param Notice $notice
-     *
-     * @return ActivityObject
-     */
-
-    function onEndNoticeAsActivity($notice, &$act) {
-        switch ($notice->object_type) {
-        case Answer::NORMAL:
-        case Answer::ANONYMOUS:
-            $act->verb = $notice->object_type;
-            break;
-        }
-        return true;
-    }
-
     /**
      * Output our CSS class for QnA notice list elements
      *