We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 00bf031f authored by Evan Prodromou's avatar Evan Prodromou

change fixup_conversations to use commandline.inc

parent 9171f16b
......@@ -18,16 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
# Abort if called from a web server
if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
print "This script must be run from the command line\n";
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
define('LACONICA', true);
require_once(INSTALLDIR . '/lib/common.php');
require_once INSTALLDIR.'/scripts/commandline.inc';
common_log(LOG_INFO, 'Fixing up conversations.');
......@@ -72,8 +65,3 @@ while ($notice->fetch()) {
print ".\n";
ini_set("max_execution_time", "0");
ini_set("max_input_time", "0");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment