diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 08:28:15 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 08:56:47 +0100 |
commit | 4b293dffe56ac452ed3bdadb3dd094e667ecfb2d (patch) | |
tree | 98aca3c33393a4edd417d1c61484673c9a587660 /settings | |
parent | 70c228a7cc31c6193bdd1c2f18a75dffe08785b8 (diff) | |
download | nextcloud-server-4b293dffe56ac452ed3bdadb3dd094e667ecfb2d.tar.gz nextcloud-server-4b293dffe56ac452ed3bdadb3dd094e667ecfb2d.zip |
Use \OCP\Util::sanitizeHTML instead of \OC_Util::sanitizeHTML
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/admin.php | 2 | ||||
-rw-r--r-- | settings/templates/personal.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 0721c0e0afb..f3de51a23c3 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -56,7 +56,7 @@ if ($_['mail_smtpmode'] == 'qmail') { if (isset($form['anchor'])) { $anchor = '#' . $form['anchor']; $sectionName = $form['section-name']; - print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", OC_Util::sanitizeHTML($anchor), OC_Util::sanitizeHTML($sectionName))); + print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", \OCP\Util::sanitizeHTML($anchor), \OCP\Util::sanitizeHTML($sectionName))); } }?> </ul> diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 0eba71d77d1..09194ea3e39 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -14,7 +14,7 @@ if (isset($form['anchor'])) { $anchor = '#' . $form['anchor']; $sectionName = $form['section-name']; - print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", OC_Util::sanitizeHTML($anchor), OC_Util::sanitizeHTML($sectionName))); + print_unescaped(sprintf("<li><a href='%s'>%s</a></li>", \OCP\Util::sanitizeHTML($anchor), \OCP\Util::sanitizeHTML($sectionName))); } }?> </ul> |