server factory tests

This commit is contained in:
Robin Appelman 2018-07-13 13:03:47 +02:00
commit fc9f0bd408
4 changed files with 93 additions and 2 deletions

View file

@ -61,6 +61,6 @@ class NativeServer extends AbstractServer {
* @return bool
*/
public static function available(ISystem $system) {
return function_exists('smbclient_state_new');
return $system->libSmbclientAvailable();
}
}