removing undefined $response
removing unused parameter $parameters
fixing undefined variable $useDir
fixing call of OC_Log::write() - missing parameter
fixing undefined $eventSource
initialize $result
fixing undefined variable $result - should be $query I assume
fixing undefined variable $where
remove silly assignment
add missing return
fixing returns
fixing returns
fixing <input> tag
Throw an exception when creating a MySQL user fails and display exception error text to user
Remove uneeded return

Thx @Raydiation
Remove uneeded returns
Use a custom exception instead of adding a delimiter to the error message
Rename TestException to DatabaseSetupException
handling proper display of files/folders with negative size
refs #1162
Merge branch 'master' into fixing-unused-and-undefined-in-master
remove php closing tag