MISP/app/Console/Command/Populate023Shell.php

16 lines
318 B
PHP
Raw Normal View History

<?php
class Populate023Shell extends AppShell {
2012-12-19 03:57:30 +01:00
2013-01-23 16:22:21 +01:00
public $tasks = array('Roles', 'RoleToAroAco', 'RoleId', 'Users');
2012-12-19 03:57:30 +01:00
public function main() {
// perform tasks
sleep(30);
$this->Roles->execute();
$this->RoleId->execute('2');
$this->RoleToAroAco->execute();
2013-01-23 16:22:21 +01:00
// on user data
$this->Users->execute();
2012-12-19 03:57:30 +01:00
}
}