More linting and fixing of comments and PHP Doc, types, etc.

This commit is contained in:
jgen
2014-04-28 01:26:22 -04:00
parent a0a39784d4
commit 022c162f40
11 changed files with 194 additions and 65 deletions

View File

@@ -123,7 +123,7 @@ class Upload extends Extension {
}
public function onPageRequest(PageRequestEvent $event) {
global $config, $page, $user;
global $page, $user;
if($event->page_matches("upload/replace")) {
// check if the user is an administrator and can upload files.
@@ -333,6 +333,7 @@ class Upload extends Extension {
/**
* Handle an transload.
*
* @param string $url
* @param mixed $tags
* @param string $source