Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
dbe935e8
Commit
dbe935e8
authored
Jan 17, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Jan 17, 2018
Browse files
Merge "Bug 1737038: Only clear cache on update and not install"
parents
2593b87f
f5953a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/upgrade.php
View file @
dbe935e8
...
...
@@ -98,8 +98,10 @@ $successicon = 'icon icon-check text-success left';
$failureicon
=
'icon icon-exclamation-triangle left'
;
$warningicon
=
'icon icon-exclamation-triangle left'
;
// Clear all caches.
clear_all_caches
();
if
(
empty
(
$upgrades
[
'core'
]
->
install
))
{
// Clear all caches on upgrade
clear_all_caches
();
}
$loadingstring
=
json_encode
(
get_string
(
'upgradeloading'
,
'admin'
));
$installsuccessstring
=
json_encode
(
get_string
(
'installsuccess'
,
'admin'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment