Factor out module name validation into a static function
authorCatrope <roan.kattouw@gmail.com>
Wed, 9 May 2012 21:10:33 +0000 (14:10 -0700)
committerCatrope <roan.kattouw@gmail.com>
Wed, 9 May 2012 21:41:27 +0000 (14:41 -0700)
commit4910a61046ce323fd4dde0cb9edbb4ed5a457a9d
tree7d7ff5046bd4635fdf76654532887e3297457450
parent2004c44a14c4d119be61b804c79d647a6a6bcba9
Factor out module name validation into a static function

Also add the requirement that module names be at most 255 bytes, so
they'll fit in the DB fields that we put module names in (md_module,
mr_resource, mrl_resource)

Change-Id: I7193c9beb7aff4eabfe20db461e6f9032ae994b1
includes/resourceloader/ResourceLoader.php