Skip to content

Commit aa694ad

Browse files
authored
Merge pull request #158 from nextcloud/jtr/fix-settings-addStyle-plus-user-script-drop
2 parents df0eb6b + f5f2396 commit aa694ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/settings/personal.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* and licensed under the AGPL.
55
*/
66

7+
use OCP\Util;
78

89
if (($_['dashboard'] || $_['login']) && ($_['selectedProvider'] != "" || $_['selectedProvider'] != "Nextcloud Image")):
910

10-
script('unsplash', 'user');
11-
style('unsplash', 'settings');
11+
Util::addStyle('unsplash', 'settings');
1212

1313
?>
1414

0 commit comments

Comments
 (0)