diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-06-30 14:09:11 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-06-30 14:09:11 +0200 |
commit | 5f4db0540af272e4dbb29b550eb6e93904ea26e7 (patch) | |
tree | 957f938fecb27ed38922ce60245c16d2b03e1955 /apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php | |
parent | 646f2f1d414cd782f0a176b750915001c457863a (diff) | |
download | nextcloud-server-5f4db0540af272e4dbb29b550eb6e93904ea26e7.tar.gz nextcloud-server-5f4db0540af272e4dbb29b550eb6e93904ea26e7.zip |
tests solidity
Diffstat (limited to 'apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php')
-rw-r--r-- | apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php b/apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php index 957c25236fd..ac21d48fd16 100644 --- a/apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php +++ b/apps/user_ldap/tests/integration/setup-scripts/createExplicitUsers.php @@ -1,5 +1,10 @@ <?php +if(php_sapi_name() !== 'cli') { + print('Only via CLI, please.'); + exit(1); +} + include __DIR__ . '/config.php'; $cr = ldap_connect($host, $port); |