diff options
| author | Nils Adermann <naderman@naderman.de> | 2012-04-19 03:27:42 +0200 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2012-04-19 03:27:42 +0200 |
| commit | 0b7a0fa2d11c4f30d31e36f2c11c574491432d4a (patch) | |
| tree | c59c2c1f113174316b3a8d50689b4bfbe19cad7a /phpBB/install/database_update.php | |
| parent | c43373068636a4f361423f2fe41231ac2e32f70f (diff) | |
| download | forums-0b7a0fa2d11c4f30d31e36f2c11c574491432d4a.tar forums-0b7a0fa2d11c4f30d31e36f2c11c574491432d4a.tar.gz forums-0b7a0fa2d11c4f30d31e36f2c11c574491432d4a.tar.bz2 forums-0b7a0fa2d11c4f30d31e36f2c11c574491432d4a.tar.xz forums-0b7a0fa2d11c4f30d31e36f2c11c574491432d4a.zip | |
[ticket/10759] Clarify comments a bit
PHPBB3-10759
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index d71226a29c..c30508dcee 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -2404,7 +2404,7 @@ function change_database_data(&$no_updates, $version) // Check if styles table was already updated if ($db_tools->sql_table_exists(STYLES_THEME_TABLE)) { - // Get list of valid installed styles + // Get list of valid 3.1 styles $available_styles = array('prosilver'); $iterator = new DirectoryIterator($phpbb_root_path . 'styles'); @@ -2447,12 +2447,12 @@ function change_database_data(&$no_updates, $version) } $db->sql_freeresult($result); - // Check each style + // Decide which styles to keep, all others will be deleted $valid_styles = array(); foreach ($styles as $style_row) { if ( - // Ignore styles with parent style + // Delete styles with parent style (not supported yet) $style_row['template_inherits_id'] == 0 && // Check if components match $style_row['template_path'] == $style_row['theme_path'] && (!isset($style_row['imageset_path']) || $style_row['template_path'] == $style_row['imageset_path']) && |
