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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/GeoIp2/angularjs/geoip2-updater/geoip2-updater.directive.js')
-rw-r--r--plugins/GeoIp2/angularjs/geoip2-updater/geoip2-updater.directive.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/GeoIp2/angularjs/geoip2-updater/geoip2-updater.directive.js b/plugins/GeoIp2/angularjs/geoip2-updater/geoip2-updater.directive.js
deleted file mode 100644
index 5ccc7e4704..0000000000
--- a/plugins/GeoIp2/angularjs/geoip2-updater/geoip2-updater.directive.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*!
- * Matomo - free/libre analytics platform
- *
- * @link https://matomo.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- */
-
-/**
- * Usage:
- * <div piwik-geoip2-updater>
- */
-(function () {
- angular.module('piwikApp').directive('piwikGeoip2Updater', piwikGeoip2Updater);
-
- piwikGeoip2Updater.$inject = ['piwik'];
-
- function piwikGeoip2Updater(piwik){
-
- return {
- restrict: 'A',
- transclude: true,
- controller: 'Geoip2UpdaterController',
- controllerAs: 'locationUpdater',
- template: '<div ng-transclude></div>',
- compile: function (element, attrs) {
-
- return function (scope, element, attrs, controller) {
- controller.geoipDatabaseInstalled = '0' !== attrs.geoipDatabaseInstalled;
- controller.showFreeDownload = false;
- controller.showPiwikNotManagingInfo = true;
- controller.progressFreeDownload = 0;
- controller.progressUpdateDownload = 0;
- };
- }
- };
- }
-})(); \ No newline at end of file