*/
static protected $_perms = array();
+ public function __construct() {
+ print "Here!";
+ }
+
/**
* Initialization function.
*
self::$_perms['tree']['shout']['superadmin'] = false;
self::$_perms['title']['shout:superadmin'] = _("Super Administrator");
- if (empty($this->accounts)) {
- $this->__construct(array('init' => true));
- }
-
- $accounts = $this->accounts->getAccounts();
+ $accounts = $this->storage->getAccounts();
self::$_perms['tree']['shout']['accounts'] = false;
self::$_perms['title']['shout:accounts'] = _("Accounts");
static public function getMenuActions()
{
- global $shout;
+ $shout = $GLOBALS['registry']->getApiInstance('shout', 'application');
$account = $_SESSION['shout']['curaccount'];
return array(