removed unnecessary if-statement

This commit is contained in:
Steffen Schröder 2014-08-25 17:34:53 +02:00
parent a169255346
commit f13c9517d3

View File

@ -342,9 +342,6 @@ class Server implements CallbackListener {
* @return bool * @return bool
*/ */
public function checkAccess($directory) { public function checkAccess($directory) {
if (!$directory) {
return false;
}
return (is_dir($directory) && is_writable($directory)); return (is_dir($directory) && is_writable($directory));
} }