aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_upgrade.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-13 00:23:05 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-13 00:23:05 +0000
commit5958c85b7fe75dbbfed35a7b896659ccaf4f6bda (patch)
tree2ec6bed9f793ae05bf9e18242b1e25af9d00fd28 /admin/include/functions_upgrade.php
parent14778ce673277f2df41f963aa70df1cbed427294 (diff)
feature 1502
Remove automatic file creation for local-layout.css during install or upgrade.php. Move icon/admin directory from default theme. git-svn-id: http://piwigo.org/svn/trunk@5124 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions_upgrade.php')
-rw-r--r--admin/include/functions_upgrade.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php
index 10eedf20b..2afb6020e 100644
--- a/admin/include/functions_upgrade.php
+++ b/admin/include/functions_upgrade.php
@@ -68,26 +68,6 @@ function prepare_conf_upgrade()
define('OLD_PERMALINKS_TABLE', $prefixeTable.'old_permalinks');
}
-// Create empty local files to avoid log errors
-function create_empty_local_files()
-{
- $files =
- array (
- PHPWG_ROOT_PATH . 'template-common/local-layout.css',
- PHPWG_ROOT_PATH . 'template/yoga/local-layout.css'
- );
-
- foreach ($files as $path)
- {
- if (!file_exists ($path))
- {
- $file = @fopen($path, "w");
- @fwrite($file , '/* You can modify this file */');
- @fclose($file);
- }
- }
-}
-
// Deactivate all non-standard plugins
function deactivate_non_standard_plugins()
{