wiki.techinc.nl/includes/cache
Antoine Musso 9cf0a3d81f HTCPPurge() early exit on socket error
I tend to dislike code style such as:

	if( $ok ) {
		// lot of code
	} else {
		return false;
	}

The SquidUpdate::HTCPPurge() used that pattern to handle a
socket_create() issue.  I have simply moved the block above and inverted
the condition.  Ie:

	if( ! $ok ) {
		return false;
	}
	// lot of code

That saves a level of indentation and makes the code a bit easier to
follow IMHO.

Change-Id: Ic3c6e22bbb637352fef740a0c1663a4b6f5a2b6a
2013-07-16 14:41:27 +00:00
..
BacklinkCache.php Fixed spacing in actions/cache/filebackend/filerepo/job folder 2013-04-20 19:18:13 +02:00
CacheDependency.php Fixed spacing in actions/cache/filebackend/filerepo/job folder 2013-04-20 19:18:13 +02:00
FileCacheBase.php docs: Remove odd colons after @todo 2013-05-15 06:23:40 +00:00
GenderCache.php Fixed spacing in actions/cache/filebackend/filerepo/job folder 2013-04-20 19:18:13 +02:00
HTMLCacheUpdate.php Use onTransactionIdle() for page invalidations when not using the job queue. 2013-04-16 10:16:10 -07:00
HTMLFileCache.php docs: Remove odd colons after @todo 2013-05-15 06:23:40 +00:00
LinkBatch.php Fixed spacing and removed unneeded parenthesis 2013-05-17 16:12:08 +00:00
LinkCache.php LinkCache singleton can now be altered 2013-06-01 09:20:02 +02:00
LocalisationCache.php Clear shallowFallbacks in LocalisationCache::unload 2013-07-01 16:53:29 -04:00
MessageCache.php Fix return type of MessageCache::getMsgFromNamespace for existing 2013-06-12 08:48:05 +10:00
ObjectFileCache.php
ProcessCacheLRU.php [FileBackend] Stat caching improvements. 2012-11-16 12:14:20 -08:00
ResourceFileCache.php docs: Remove odd colons after @todo 2013-05-15 06:23:40 +00:00
SquidUpdate.php HTCPPurge() early exit on socket error 2013-07-16 14:41:27 +00:00
UserCache.php UserCache::getUserName: Docs said @since 1.21, but not in REL1_21 2013-06-19 16:17:52 -03:00