public static function set_allowed_dashlets($dashlets)
 {
     Config::inst()->update('DashboardController', 'allowed_dashlets', $dashlets);
     self::$allowed_dashlets = $dashlets;
 }