diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
commit | c2d88a08b796ca19c8b5ec63bfd34ac32ead4208 (patch) | |
tree | f18e0ba4d05361456a6712378ccc0784620c1e9c /lib/private/legacy/helper.php | |
parent | 48f9e4ed03f3148d62919a95496ee43164d3e707 (diff) | |
download | nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.tar.gz nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.zip |
Remove unneeded checks if it runs on a Windows machine
* the setup check is still there
Diffstat (limited to 'lib/private/legacy/helper.php')
-rw-r--r-- | lib/private/legacy/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/helper.php b/lib/private/legacy/helper.php index 21fb3cbc5ab..06cffe80837 100644 --- a/lib/private/legacy/helper.php +++ b/lib/private/legacy/helper.php @@ -534,7 +534,7 @@ class OC_Helper { return $memcache->get($program); } $result = null; - if (!\OC_Util::runningOnWindows() && self::is_function_enabled('exec')) { + if (self::is_function_enabled('exec')) { $exeSniffer = new ExecutableFinder(); // Returns null if nothing is found $result = $exeSniffer->find($program); |