ForeignAPIRepo: Remove incorrect 'thumbnail' from $imageInfoProps
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 4 Feb 2016 17:14:05 +0000 (18:14 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 4 Feb 2016 17:14:05 +0000 (18:14 +0100)
'thumbnail' doesn't seem to have ever been a valid 'iiprop' value.
It's currently causing harmless warnings on every InstantCommons request.
Added in 8d1fa96578e8570a08a0cb5f7e2945f09819fbfb for unknown reasons.

Change-Id: I6286ce3ac07207c0dcfc1171084cb358b3fcecda

includes/filerepo/ForeignAPIRepo.php

index a8d37a1..d7241e9 100644 (file)
@@ -50,7 +50,6 @@ class ForeignAPIRepo extends FileRepo {
         */
        protected static $imageInfoProps = array(
                'url',
         */
        protected static $imageInfoProps = array(
                'url',
-               'thumbnail',
                'timestamp',
        );
 
                'timestamp',
        );