Better handling of the network field in the item table.

This commit is contained in:
Michael Vogel 2013-12-27 01:58:21 +01:00
parent a96d6f835c
commit 4b0e370c4c
11 changed files with 92 additions and 82 deletions

View file

@ -328,10 +328,10 @@ function get_theme_info($theme){
$info[$k]=$v;
}
}
}
}
}
return $info;
}}
@ -351,7 +351,7 @@ function get_theme_screenshot($theme) {
if (! function_exists('uninstall_theme')){
function uninstall_theme($theme){
logger("Addons: uninstalling theme " . $theme);
@include_once("view/theme/$theme/theme.php");
if(function_exists("{$theme}_uninstall")) {
$func = "{$theme}_uninstall";