diff --git a/scripts/fixup_status_network.php b/scripts/fixup_status_network.php new file mode 100644 index 0000000000..dae492a860 --- /dev/null +++ b/scripts/fixup_status_network.php @@ -0,0 +1,32 @@ +#!/usr/bin/env php +. + */ + +print "BEGIN\n"; +define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); + +require_once INSTALLDIR.'/scripts/commandline.inc'; + +common_log(LOG_INFO, 'Beginning conversion...'); + +$sn = new Status_network(); +$sn->find(); +while ($sn->fetch()) { + $sn->setTags(explode('|', $sn->tags)); +}