Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-06-26 00:18:03 +0300
committerOlivier Paroz <github@oparoz.com>2015-07-25 20:32:52 +0300
commit7223d77fca41baec639d8f89f81197ed73defc8f (patch)
tree4e632b6bac04fa6846e5892b3ddadc15b718e60a /templates
parent8707a568b8dfb86c6b015b9dcec971e989f48c02 (diff)
Remove private API introduced by @85093c46b7cf48706c32fb7deb24ff10a1726be8
(cherry picked from commit ea1c4d5)
Diffstat (limited to 'templates')
-rw-r--r--templates/public.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/public.php b/templates/public.php
index c8fd1688..079a9b57 100644
--- a/templates/public.php
+++ b/templates/public.php
@@ -55,10 +55,10 @@ style(
<div class="header-appname-container">
<h1 class="header-appname">
<?php
- if(OC_Util::getEditionString() === '') {
- p($theme->getName());
- } else {
+ if(\OCP\App::isEnabled('enterprise_key')) {
print_unescaped($theme->getHTMLName());
+ } else {
+ p($theme->getName());
}
?>
</h1>