]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bad log constant
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 27 Aug 2016 22:16:31 +0000 (00:16 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 27 Aug 2016 22:16:31 +0000 (00:16 +0200)
plugins/Oembed/OembedPlugin.php

index 187b4b9819bcdf84d48274124d3c8dcaef16e097..64e3e8940c0ea7da7602a0a6b38b08c9322c8ced 100644 (file)
@@ -176,7 +176,7 @@ class OembedPlugin extends Plugin
                 }
                 $file->setTitle($oembed_data->title);
             } catch (Exception $e) {
-                common_log(LOG_WARN, sprintf(__METHOD__.': %s thrown when getting oEmbed data: %s', get_class($e), _ve($e->getMessage())));
+                common_log(LOG_WARNING, sprintf(__METHOD__.': %s thrown when getting oEmbed data: %s', get_class($e), _ve($e->getMessage())));
                 return true;
             }