More block updates:
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 21 Sep 2008 15:16:32 +0000 (15:16 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 21 Sep 2008 15:16:32 +0000 (15:16 +0000)
commit29b0c85cb2e9e45cb99915d5359f62c99d3db2c7
tree1769094be304e693b45ff5a39b603dc1b8581f6c
parent4245e245ef2407b19451cba166108aa19d1fe04b
More block updates:
* Improve docs (formatExpiry() is fine, abstracting wouldn't do anything, as it would just become a wrapper for $wgLang->timeanddate())
* Abstract out some param validation from insert()
* Add an update() method to make modification of existing blocks a bit nicer.
includes/Block.php