diff options
author | Evan Prodromou <evan@status.net> | 2009-10-01 15:11:12 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-01 15:11:12 -0400 |
commit | d103522ff364098ed26305b31d1cb62f87de1318 (patch) | |
tree | 2e40dc7163f60777ea7466dac1134f8f50a5e3b3 /scripts | |
parent | b980f5e45b613d60e968e84b304ef9db260f24c2 (diff) |
check the schema
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/checkschema.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/checkschema.php b/scripts/checkschema.php new file mode 100644 index 000000000..bf52abe15 --- /dev/null +++ b/scripts/checkschema.php @@ -0,0 +1,30 @@ +#!/usr/bin/env php +<?php +/* + * StatusNet - a distributed open-source microblogging tool + * Copyright (C) 2008, 2009, StatusNet, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); + +$helptext = <<<END_OF_CHECKSCHEMA_HELP +Gives plugins a chance to update the database schema. + +END_OF_CHECKSCHEMA_HELP; + +require_once INSTALLDIR.'/scripts/commandline.inc'; + +Event::handle('CheckSchema'); |