Set getFeatures() for MemoryFileBackend
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 21 Sep 2015 22:04:12 +0000 (15:04 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 21 Sep 2015 22:04:12 +0000 (15:04 -0700)
Change-Id: I565e2e2c8a4a89c6706349a4ef9826f87445d1d2

includes/filebackend/MemoryFileBackend.php

index ba2cf23..2879ddd 100644 (file)
@@ -35,6 +35,10 @@ class MemoryFileBackend extends FileBackendStore {
        /** @var array Map of (file path => (data,mtime) */
        protected $files = array();
 
+       public function getFeatures() {
+               return self::ATTR_UNICODE_PATHS;
+       }
+
        public function isPathUsableInternal( $storagePath ) {
                return true;
        }