]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
Change plugin to addon
[friendica.git] / include / items.php
index be370b3d19f1a9211e7f4da28f1d9746967ff654..8063f7fc2d6a71c1bf512588cefa8cf9708cfa8a 100644 (file)
@@ -601,7 +601,7 @@ function item_store($arr, $force_parent = false, $notify = false, $dontcache = f
        }
 
        /// @TODO old-lost code?
-       // Shouldn't happen but we want to make absolutely sure it doesn't leak from a plugin.
+       // Shouldn't happen but we want to make absolutely sure it doesn't leak from an addon.
        // Deactivated, since the bbcode parser can handle with it - and it destroys posts with some smileys that contain "<"
        //if ((strpos($arr['body'],'<') !== false) || (strpos($arr['body'],'>') !== false))
        //      $arr['body'] = strip_tags($arr['body']);
@@ -954,7 +954,7 @@ function item_store($arr, $force_parent = false, $notify = false, $dontcache = f
        unset($arr['api_source']);
 
        if (x($arr, 'cancel')) {
-               logger('item_store: post cancelled by plugin.');
+               logger('item_store: post cancelled by addon.');
                return 0;
        }