use __construct in cssmin library

This will avoid a PHP error stating that methods with the same name as their class will not be treated as constructors in future versions of PHP.
This commit is contained in:
haliphax 2016-09-07 09:54:48 -05:00 committed by GitHub
parent e51bcb4509
commit 8e669ce994

View File

@ -61,7 +61,7 @@
class cssmin {
public function cssmin()
public function __construct()
{
log_message('debug', 'CSSMin library initialized.');
}
@ -506,4 +506,4 @@ class Minify_CommentPreserver {
: substr($in, -$endChars);
return $ret;
}
}
}