Fix for MySQL strict mode; explicitly set the deprecated page_restrictions field...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 19 Jan 2007 09:50:19 +0000 (09:50 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 19 Jan 2007 09:50:19 +0000 (09:50 +0000)
commit4c436c36149b577fc650cdc9f6a5b0e5ddbf6209
tree0deaca344c3f444ba1b5e8dc6c43ccff5093cd0a
parenta8f6c1efc39ddcfc8f06dba46993f9a4b2c07eb2
Fix for MySQL strict mode; explicitly set the deprecated page_restrictions field when inserting a new page record.
Also removed the now-useless $restrictions parameter from Article::insertOn(); it was optional and wasn't used anywhere anyway.
Aaaand while in there, cleaned up an unnecessary reference parameter (old php 4 compat)
includes/Article.php