RefreshLinksJob: Replace use of empty() with explicit check
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Sep 2013 04:34:32 +0000 (06:34 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Sep 2013 04:34:32 +0000 (06:34 +0200)
commit8465d05887e1b8b3f8b35305018bce8d754c06b3
tree0ce4b3e90bb6e8f5a50120c200bda702f456b6c3
parentc1389b0b38d3f692c46309a70d947a5c7c9658e1
RefreshLinksJob: Replace use of empty() with explicit check

Using empty() is a maintenance nightmare as it completely removes
any meaning of what the author intends to check for (whether the
variable exists at all, it being set to an empty array, 0, '0' etc.)

Follows-up I445e10da122e5f24e589 which changed it from isset()
to !empty() with commit message of checking for false.

Change-Id: I561f03b0526685f51138d723f9eb7196725e0b93
includes/job/jobs/RefreshLinksJob.php