formatting pass

This commit is contained in:
Shish 2019-06-21 09:12:44 +01:00
parent 42a502953b
commit c24a6e9b97
7 changed files with 24 additions and 26 deletions

View File

@ -489,7 +489,8 @@ function image_resize_gd(
* @param String $image_filename The path of the file to check.
* @return bool true if the file is an animated gif, false if it is not.
*/
function is_animated_gif(String $image_filename) {
function is_animated_gif(String $image_filename)
{
$is_anim_gif = 0;
if (($fh = @fopen($image_filename, 'rb'))) {
//check if gif is animated (via http://www.php.net/manual/en/function.imagecreatefromgif.php#104473)

View File

@ -26,7 +26,8 @@
* Various other common functions are available as part of the Themelet class.
*/
abstract class PageMode {
abstract class PageMode
{
const REDIRECT = 'redirect';
const DATA = 'data';
const PAGE = 'page';

View File

@ -333,7 +333,6 @@ class CronUploader extends Extension
$this->handle_log();
return true;
}
private function move_uploaded($path, $filename, $output_subdir, $corrupt = false)

View File

@ -62,8 +62,6 @@ class ExtensionInfo
$this->authors[] = new ExtensionAuthor($author, null);
}
}
} elseif (preg_match("/(.*)Description: ?(.*)/", $line, $matches)) {
$this->description = $matches[2];
$start = $matches[1] . " ";

View File

@ -129,7 +129,6 @@ class ExtManagerTheme extends Themelet
$author .= html_escape($auth->name);
}
}
}
$version = ($info->version) ? "<br><b>Version:</b> " . html_escape($info->version) : "";