Merge "Improve wording of imageinfo API userid prop"
[lhc/web/wiklou.git] / includes / media / XMPInfo.php
index e0a491c..97aa796 100644 (file)
@@ -31,13 +31,6 @@ class XMPInfo {
         * @return array XMP item configuration array.
         */
        public static function getItems() {
-               if ( !self::$ranHooks ) {
-                       // This is for if someone makes a custom metadata extension.
-                       // For example, a medical wiki might want to decode DICOM xmp properties.
-                       Hooks::run( 'XMPGetInfo', array( &self::$items ) );
-                       self::$ranHooks = true; // Only want to do this once.
-               }
-
                return self::$items;
        }
 
@@ -57,7 +50,7 @@ class XMPInfo {
         *   * mode - What type of item (self::MODE_SIMPLE usually, see above for
         *     all values).
         *   * validate - Method to validate input. Could also post-process the
-        *     input. A string value is assumed to be a static method of
+        *     input. A string value is assumed to be a method of
         *     XMPValidate. Can also take a array( 'className', 'methodName' ).
         *   * choices - Array of potential values (format of 'value' => true ).
         *     Only used with validateClosed.