eZPublishCommunityProject(LegacyStack)  2013.6
disablesuspicioususers.php File Reference

Namespaces

 update
 File containing the section identifier upgrade script.
 

Variables

 $cli = eZCLI::instance()
 
 $db = eZDB::instance()
 
 $options
 
 $rows
 
 $script
 

Variable Documentation

$cli = eZCLI::instance()
$db = eZDB::instance()
$options
Initial value:
= $script->getOptions( '[disable]', '', array( '-q' => 'Quiet mode',
'disable' => 'Disabling user accounts with suspicious user login.' ) )
$script
Definition: adddefaultstates.php:22
$rows
Initial value:
= $db->arrayQuery( "SELECT DISTINCT login FROM ezuser, ezuser_setting
WHERE ( ezuser.login LIKE '%<%' OR ezuser.login LIKE '%>%' )
AND ezuser.contentobject_id = ezuser_setting.user_id
AND ezuser_setting.is_enabled = '1'" )
$db
Definition: adddefaultstates.php:36
$script
Initial value:
array(
'description' => 'Script responsible for disabling user accounts with suspicious user login (containing < and >)',
'use-session' => false,
'use-modules' => false,
'use-extensions' => true
)
)
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1084