Rename legacy notification so it's less confusing

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/7933/head
Joas Schilling 9 years ago
parent 4b50fe7560
commit 52f8d75d1a
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 2
      apps/updatenotification/js/legacy-notification.js
  2. 2
      apps/updatenotification/lib/AppInfo/Application.php

@ -11,7 +11,7 @@
*/
/**
* this gets only loaded if an update is available and then shows a temporary notification
* This only gets loaded if an update is available and the notifications app is not enabled for the user.
*/
$(document).ready(function(){
var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}),

@ -63,7 +63,7 @@ class Application extends App {
}
if ($updateChecker->getUpdateState() !== []) {
Util::addScript('updatenotification', 'notification');
Util::addScript('updatenotification', 'legacy-notification');
\OC_Hook::connect('\OCP\Config', 'js', $updateChecker, 'populateJavaScriptVariables');
}
}

Loading…
Cancel
Save