diff options
author | Ulf Wendel <uw@php.net> | 2007-08-09 10:10:46 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2007-08-09 10:10:46 +0000 |
commit | af91a4056af85e67f10a7242b2974e238b00d1f1 (patch) | |
tree | cb306f5da4acd3ff0ea52d2ca2218fe80adb27e3 | |
parent | 5846d6b84b53c5b40fd2c2de5708edc31d3ad757 (diff) | |
download | php-git-af91a4056af85e67f10a7242b2974e238b00d1f1.tar.gz |
No need for an extra skip*.inc file, this check is done in just one place
-rw-r--r-- | ext/mysqli/tests/mysqli_connect_oo_warnings.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt b/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt index 81c6477b9a..1148cc93df 100644 --- a/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt +++ b/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt @@ -5,7 +5,8 @@ new mysqli() require_once('skipif.inc'); require_once('skipifemb.inc'); require_once('skipifconnectfailure.inc'); - require_once('skipifnodefuser.inc'); + if (!get_current_user()) + die('skip: get_current_user() not supported'); if (stristr(mysqli_get_client_info(), 'mysqlnd')) die("skip: test for libmysql (different error output when using php streams"); ?> |