Warning: session_start(): open(/var/lib/php/sessions/sess_bk467m4aauo5tbpka55dufbpmm, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static void upgradeModuleVar(fS moduleVar, fS programID, final bool callMain) {
S name = snippetWithTitle(programID);
upgradeModuleVar(moduleVar, programID, name, callMain);
}
static void upgradeModuleVar(fS moduleVar, fS programID, S name, final bool callMain) {
upgradeModuleVar(moduleVar, programID, name, callMain, null);
}
static void upgradeModuleVar(fS moduleVar, fS programID, S name, final bool callMain, O afterRestart) {
infoBox("Upgrading module " + name);
O module = get(mc(), moduleVar);
cleanUp(module);
set(mc(), moduleVar, null);
module = hotwire(programID);
if (callMain) callMain(module);
set(mc(), moduleVar, module);
pcallF(afterRestart);
infoBox("Upgraded module " + name);
}