Optimize isBlockAliasedFromMasterCollection
Optimize isBlockAliasedFromMasterCollection

* Fix PHPDoc: $b is a Block instance, not an array
* Fix argument: declaring that $b is passed by reference is useless
  (so let's use $b instead of &$b)
* If $b is not an alias let's return false without filling
   blocksAliasedFromMasterCollection (that's useless)
* $db->execute is useless, since it's already called inside $db->GetCol


Former-commit-id: 3adb676328bd0aa96b84e7dc5e08cab481e2f9d6
hissy/concrete5,olsgreen/concrete5,olsgreen/concrete5,MrKarlDilkington/concrete5,biplobice/concrete5,mlocati/concrete5,a3020/concrete5,hissy/concrete5,MrKarlDilkington/concrete5,a3020/concrete5,haeflimi/concrete5,biplobice/concrete5,mlocati/concrete5,KorvinSzanto/concrete5,deek87/concrete5,acliss19xx/concrete5,rikzuiderlicht/concrete5,triplei/concrete5-8,concrete5/concrete5,mlocati/concrete5,triplei/concrete5-8,acliss19xx/concrete5,acliss19xx/concrete5,triplei/concrete5-8,haeflimi/concrete5,deek87/concrete5,KorvinSzanto/concrete5,haeflimi/concrete5,mainio/concrete5,jaromirdalecky/concrete5,jaromirdalecky/concrete5,deek87/concrete5,mainio/concrete5,MrKarlDilkington/concrete5,deek87/concrete5,hissy/concrete5,hissy/concrete5,KorvinSzanto/concrete5,biplobice/concrete5,concrete5/concrete5,mlocati/concrete5,rikzuiderlicht/concrete5,biplobice/concrete5,haeflimi/concrete5,concrete5/concrete5,jaromirdalecky/concrete5,olsgreen/concrete5,rikzuiderlicht/concrete5,concrete5/concrete5,jaromirdalecky/concrete5,mainio/concrete5