aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/templates/login.php2
-rw-r--r--core/templates/lostpassword/resetpassword.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index ef89d227d24..9934d4988d9 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -33,7 +33,7 @@ script('core', [
<?php endif; ?>
<div id="message" class="hidden">
<img class="float-spinner" alt=""
- src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>">
+ src="<?php p(image_path('core', 'loading-dark.gif'));?>">
<span id="messageText"></span>
<!-- the following div ensures that the spinner is always inside the #message div -->
<div style="clear: both;"></div>
diff --git a/core/templates/lostpassword/resetpassword.php b/core/templates/lostpassword/resetpassword.php
index 49ced424648..02e82fe6947 100644
--- a/core/templates/lostpassword/resetpassword.php
+++ b/core/templates/lostpassword/resetpassword.php
@@ -34,7 +34,7 @@ script('core', 'lostpassword');
</p>
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
<p class="text-center">
- <img class="hidden" id="float-spinner" src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>"/>
+ <img class="hidden" id="float-spinner" src="<?php p(image_path('core', 'loading-dark.gif'));?>"/>
</p>
</fieldset>
</form>