From 966304fff2ca8ca6ef157b447989e5bee0c2277f Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 9 Feb 2018 15:40:03 +0100 Subject: [PATCH] Revert setCoversConstant function --- nntmux/utility/Utility.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nntmux/utility/Utility.php b/nntmux/utility/Utility.php index aaafe1d26..f91872e94 100755 --- a/nntmux/utility/Utility.php +++ b/nntmux/utility/Utility.php @@ -366,6 +366,9 @@ class Utility return $string === '' ? false : $string; } + /** + * @param $path + */ public static function setCoversConstant($path) { if (! \defined('NN_COVERS')) { @@ -382,7 +385,7 @@ class Utility case empty($path): // Default to resources location. default: \define('NN_COVERS', NN_RES.'covers'.DS); - }`` + } } }