Skip to content

Commit

Permalink
[ticket/10250] Destroy cached md5 hash of site_logo on refreshing an …
Browse files Browse the repository at this point in the history
…imageset

PHPBB3-10250
  • Loading branch information
naderman committed Jul 5, 2011
1 parent f610f44 commit 8ec737e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpBB/includes/acp/acp_styles.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ function main($id, $mode)
$db->sql_transaction('commit'); $db->sql_transaction('commit');


$cache->destroy('sql', STYLES_IMAGESET_DATA_TABLE); $cache->destroy('sql', STYLES_IMAGESET_DATA_TABLE);
$cache->destroy('imageset_site_logo_md5');


add_log('admin', 'LOG_IMAGESET_REFRESHED', $imageset_row['imageset_name']); add_log('admin', 'LOG_IMAGESET_REFRESHED', $imageset_row['imageset_name']);
trigger_error($user->lang['IMAGESET_REFRESHED'] . adm_back_link($this->u_action)); trigger_error($user->lang['IMAGESET_REFRESHED'] . adm_back_link($this->u_action));
Expand Down

0 comments on commit 8ec737e

Please sign in to comment.