]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Clean up reference usage warnings in DirectionDetector plugin
authorBrion Vibber <brion@pobox.com>
Wed, 5 May 2010 17:51:05 +0000 (10:51 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 5 May 2010 17:51:05 +0000 (10:51 -0700)
plugins/DirectionDetector/DirectionDetectorPlugin.php

index 303e60d5f401d7803fe96c5293944d2d6e6d4dcd..0277e02c56ffe895b7dfc9f8d26d53e542508441 100644 (file)
@@ -48,7 +48,7 @@ class DirectionDetectorPlugin extends Plugin {
         *
         * @param 
         */
-       public function onEndShowStatusNetStyles(&$xml){
+       public function onEndShowStatusNetStyles($xml){
                $xml->element('style', array('type' => 'text/css'), 'span.rtl {display:block;direction:rtl;text-align:right;float:right;width:490px;} .notice .author {float:left}');
        }
        /**
@@ -102,7 +102,7 @@ class DirectionDetectorPlugin extends Plugin {
         *
         * Returns false if the input string isn't a valid UTF-8 octet sequence.
         */
-       private static function utf8ToUnicode(&$str){
+       private static function utf8ToUnicode($str){
                $mState = 0;       // cached expected number of octets after the current octet
                                   // until the beginning of the next UTF8 character sequence
                $mUcs4  = 0;     // cached Unicode character