From 31fa8b0817c8e06c54b57887106a977d5284c6af Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 15 Mar 2011 16:58:06 +0000 Subject: [PATCH] Update doc: Image:: -> File:: --- includes/Defines.php | 2 +- includes/HTMLCacheUpdate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Defines.php b/includes/Defines.php index de32a6be4b..94fcf03525 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -114,7 +114,7 @@ define( 'CACHE_DBA', 4 ); // Use PHP's DBA extension to store in a DBM-st /**@{ * Media types. - * This defines constants for the value returned by Image::getMediaType() + * This defines constants for the value returned by File::getMediaType() */ define( 'MEDIATYPE_UNKNOWN', 'UNKNOWN' ); // unknown format define( 'MEDIATYPE_BITMAP', 'BITMAP' ); // some bitmap image or image source (like psd, etc). Can't scale up. diff --git a/includes/HTMLCacheUpdate.php b/includes/HTMLCacheUpdate.php index d571d94992..ca5fc2ec96 100644 --- a/includes/HTMLCacheUpdate.php +++ b/includes/HTMLCacheUpdate.php @@ -18,7 +18,7 @@ * batches, but of course LIMIT with an offset is inefficient on the DB side. * * The class is nevertheless a vast improvement on the previous method of using - * Image::getLinksTo() and Title::touchArray(), which uses about 2KB of memory per + * File::getLinksTo() and Title::touchArray(), which uses about 2KB of memory per * link. * * @ingroup Cache -- 2.20.1