MDL-61663 portfolio: Update to the external system link names.
authorAdrian Greeve <adrian@moodle.com>
Tue, 17 Apr 2018 03:08:02 +0000 (11:08 +0800)
committerAdrian Greeve <adrian@moodle.com>
Tue, 17 Apr 2018 03:39:11 +0000 (11:39 +0800)
Changed the name of the link to something less like an English
string for each of the portfolios.

portfolio/boxnet/classes/privacy/provider.php
portfolio/flickr/classes/privacy/provider.php
portfolio/googledocs/classes/privacy/provider.php
portfolio/mahara/classes/privacy/provider.php
portfolio/picasa/classes/privacy/provider.php

index c83fe4a..fb0a82f 100644 (file)
@@ -45,7 +45,7 @@ class provider implements
      * @return  collection     A listing of user data stored through this system.
      */
     public static function get_metadata(collection $collection) : collection {
-        return $collection->add_external_location_link('Box cloud storage', ['data' => 'privacy:metadata:data'],
+        return $collection->add_external_location_link('box.net', ['data' => 'privacy:metadata:data'],
                                                        'privacy:metadata');
     }
 
index a07c8b5..f1b96c9 100644 (file)
@@ -45,7 +45,7 @@ class provider implements
      * @return  collection     A listing of user data stored through this system.
      */
     public static function get_metadata(collection $collection) : collection {
-        return $collection->add_external_location_link('Flickr account', ['data' => 'privacy:metadata:data'], 'privacy:metadata');
+        return $collection->add_external_location_link('flickr.com', ['data' => 'privacy:metadata:data'], 'privacy:metadata');
     }
 
     /**
index 8ba6168..f8734af 100644 (file)
@@ -45,7 +45,7 @@ class provider implements
      * @return  collection     A listing of user data stored through this system.
      */
     public static function get_metadata(collection $collection) : collection {
-        return $collection->add_external_location_link('Google Docs account', ['data' => 'privacy:metadata:data'],
+        return $collection->add_external_location_link('docs.google.com', ['data' => 'privacy:metadata:data'],
                                                        'privacy:metadata');
     }
 
index 1dab5b6..be1719e 100644 (file)
@@ -45,7 +45,7 @@ class provider implements
      * @return  collection     A listing of user data stored through this system.
      */
     public static function get_metadata(collection $collection) : collection {
-        return $collection->add_external_location_link('Mahara site', ['data' => 'privacy:metadata:data'], 'privacy:metadata');
+        return $collection->add_external_location_link('mahara', ['data' => 'privacy:metadata:data'], 'privacy:metadata');
     }
 
     /**
index d1f15c8..79e0338 100644 (file)
@@ -45,7 +45,7 @@ class provider implements
      * @return  collection     A listing of user data stored through this system.
      */
     public static function get_metadata(collection $collection) : collection {
-        return $collection->add_external_location_link('Picasa photo storage', ['data' => 'privacy:metadata:data'],
+        return $collection->add_external_location_link('picasa.google.com', ['data' => 'privacy:metadata:data'],
                                                        'privacy:metadata');
     }