Commit b000b628 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1132 Simply return an emty array if koecapabilities are not set.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 75eaa55c
...@@ -759,10 +759,8 @@ class Request { ...@@ -759,10 +759,8 @@ class Request {
if (isset(self::$koeCapabilites)) { if (isset(self::$koeCapabilites)) {
return self::$koeCapabilites; return self::$koeCapabilites;
} }
else {
return array(); return array();
} }
}
/** /**
* Returns whether it is an Outlook client. * Returns whether it is an Outlook client.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment