Remove stray generateUrl

This commit is contained in:
Vincent Petry 2014-11-19 10:59:38 +01:00
parent 152da9796b
commit cd60a27ad6
1 changed files with 0 additions and 5 deletions

View File

@ -45,11 +45,6 @@ OC.L10N = {
var self = this; var self = this;
var deferred = $.Deferred(); var deferred = $.Deferred();
var url = OC.generateUrl(
'apps/{app}/l10n/{locale}.json',
{app: appName, locale: OC.getLocale()}
);
var url = OC.filePath(appName, 'l10n', OC.getLocale() + '.json'); var url = OC.filePath(appName, 'l10n', OC.getLocale() + '.json');
// load JSON translation bundle per AJAX // load JSON translation bundle per AJAX