From: Mikael Nordfeldth Date: Mon, 10 Jul 2017 12:50:25 +0000 (+0200) Subject: Bad constant (LOG_WARNING, not LOG_WARN) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9cfda5ef2f3554a20290ec3e608ca8cbc90f0b9;p=quix0rs-gnu-social.git Bad constant (LOG_WARNING, not LOG_WARN) --- diff --git a/plugins/Oembed/OembedPlugin.php b/plugins/Oembed/OembedPlugin.php index 57ff3f467c..06e76404bc 100644 --- a/plugins/Oembed/OembedPlugin.php +++ b/plugins/Oembed/OembedPlugin.php @@ -390,7 +390,7 @@ class OembedPlugin extends Plugin common_debug(__METHOD__ . ': '.sprintf('Performing HEAD request for remote file id==%u to avoid unnecessarily downloading too large files. URL: %s', $thumbnail->getFileId(), $remoteUrl)); $head = $http->head($remoteUrl); if (!$head->isOk()) { - common_log(LOG_WARN, 'HEAD request returned HTTP failure, so we will abort now and delete the thumbnail object.'); + common_log(LOG_WARNING, 'HEAD request returned HTTP failure, so we will abort now and delete the thumbnail object.'); $thumbnail->delete(); return false; } else {