Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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
Options
Browse Files
Download
Plain Diff
Merge "Bug 1737038: Only clear cache on update and not install"
parents
2593b87f
f5953a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
htdocs/admin/upgrade.php
htdocs/admin/upgrade.php
+4
-2
No files found.
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
Markdown
is supported
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