/** * Return true if this username is not allowed to log in (generally due to automated abuse). * The username doesn't have to correspond to a real user in the system. * * @param string $userName a username * @return array GalleryStatus a status code * bool true if the account is disabled */ function isDisabledUsername($userName) { MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryUserHelper_medium.class'); return GalleryUserHelper_medium::isDisabledUsername($userName); }