Check if board already exists when creating it

This commit is contained in:
Savetheinternet 2011-01-03 17:28:18 +11:00
parent 3a3578c805
commit 05712d7457
2 changed files with 5 additions and 1 deletions

View file

@ -81,6 +81,7 @@
define('ERROR_MISSEDAFIELD', 'Your browser didn\'t submit an input when it should have.', true);
define('ERROR_REQUIRED', 'The %s field is required.', true);
define('ERROR_INVALIDFIELD', 'The %s field was invalid.', true);
define('ERROR_BOARDEXISTS', 'There is already a %s board.', true);
define('ERROR_NOACCESS', 'You don\'t have permission to do that.', true);
define('ERROR_INVALIDPOST', 'That post doesn\'t exist…', true);
define('ERROR_404', 'Page not found.', true);