Open tags should have closing tags

This commit is contained in:
Eric Helgeson 2009-10-05 12:55:55 -04:00
parent d1a5a49875
commit aeca8807db
33 changed files with 34 additions and 4 deletions

View File

@ -38,3 +38,4 @@ if ($sn->find()) {
print "$sn->nickname\n"; print "$sn->nickname\n";
} }
} }
?>

View File

@ -140,3 +140,4 @@ $tagmax = (have_option('t', 'tags')) ? get_option_value('t', 'tags') : 10000
$userprefix = (have_option('x', 'prefix')) ? get_option_value('x', 'prefix') : 'testuser'; $userprefix = (have_option('x', 'prefix')) ? get_option_value('x', 'prefix') : 'testuser';
main($usercount, $noticeavg, $subsavg, $tagmax); main($usercount, $noticeavg, $subsavg, $tagmax);
?>

View File

@ -48,3 +48,4 @@ if (!$object) {
} }
$result = $object->decache(); $result = $object->decache();
?>

View File

@ -66,3 +66,4 @@ if (!have_option('y', 'yes')) {
print "Deleting..."; print "Deleting...";
$user->delete(); $user->delete();
print "DONE.\n"; print "DONE.\n";
?>

View File

@ -137,3 +137,4 @@ if ($handler->start()) {
} }
$handler->finish(); $handler->finish();
?>

View File

@ -72,3 +72,4 @@ if (have_option('i')) {
$handler = new FacebookQueueHandler($id); $handler = new FacebookQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -68,3 +68,4 @@ while ($nid->fetch()) {
print ".\n"; print ".\n";
} }
?>

View File

@ -45,3 +45,4 @@ while ($notice->fetch()) {
common_log_db_error($notice, 'UPDATE', __FILE__); common_log_db_error($notice, 'UPDATE', __FILE__);
} }
} }
?>

View File

@ -79,3 +79,4 @@ while ($user->fetch()) {
$cache->delete(common_cache_key('user:notices_with_friends:' . $user->id)); $cache->delete(common_cache_key('user:notices_with_friends:' . $user->id));
} }
} }
?>

View File

@ -49,3 +49,4 @@ while ($notice->fetch()) {
common_log_db_error($notice, 'UPDATE', __FILE__); common_log_db_error($notice, 'UPDATE', __FILE__);
} }
} }
?>

View File

@ -39,3 +39,4 @@ while ($notice->fetch()) {
common_log(LOG_INFO, 'Getting replies for notice #' . $notice->id); common_log(LOG_INFO, 'Getting replies for notice #' . $notice->id);
common_save_replies($notice); common_save_replies($notice);
} }
?>

View File

@ -363,3 +363,4 @@ $fixer = new UTF8FixerUpper(array('max_date' => $max_date,
$fixer->fixup(); $fixer->fixup();
?>

View File

@ -28,3 +28,4 @@ ENDOFHELP;
require_once INSTALLDIR.'/scripts/commandline.inc'; require_once INSTALLDIR.'/scripts/commandline.inc';
echo common_config('daemon', 'piddir'); echo common_config('daemon', 'piddir');
?>

View File

@ -52,3 +52,4 @@ echo "pingqueuehandler.php ";
if (common_config('sms', 'enabled')) { if (common_config('sms', 'enabled')) {
echo "smsqueuehandler.php "; echo "smsqueuehandler.php ";
} }
?>

View File

@ -105,3 +105,4 @@ foreach ($ids as $id) {
$cache->delete(common_cache_key('user:notices_with_friends:' . $user->id . ';last')); $cache->delete(common_cache_key('user:notices_with_friends:' . $user->id . ';last'));
} }
} }
?>

View File

@ -76,3 +76,4 @@ if (have_option('i')) {
$handler = new JabberQueueHandler($id); $handler = new JabberQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -389,3 +389,4 @@ if (common_config('emailpost', 'enabled')) {
$md = new MailerDaemon(); $md = new MailerDaemon();
$md->handle_message('php://stdin'); $md->handle_message('php://stdin');
} }
?>

View File

@ -85,3 +85,4 @@ if (have_option('i')) {
$handler = new OmbQueueHandler($id); $handler = new OmbQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -67,3 +67,4 @@ if (have_option('i')) {
$handler = new PingQueueHandler($id); $handler = new PingQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -74,3 +74,4 @@ if (have_option('i')) {
$handler = new PublicQueueHandler($id); $handler = new PublicQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -28,3 +28,4 @@ END_OF_SNAPSHOT_HELP;
require_once INSTALLDIR.'/scripts/commandline.inc'; require_once INSTALLDIR.'/scripts/commandline.inc';
Snapshot::check(); Snapshot::check();
?>

View File

@ -34,3 +34,4 @@ $maxlifetime = ini_get('session.gc_maxlifetime');
print "Deleting sessions older than $maxlifetime seconds.\n"; print "Deleting sessions older than $maxlifetime seconds.\n";
Session::gc($maxlifetime); Session::gc($maxlifetime);
?>

View File

@ -59,3 +59,4 @@ if (!$user->update($original)) {
print "Password for user '$nickname' updated.\n"; print "Password for user '$nickname' updated.\n";
exit(0); exit(0);
} }
?>

View File

@ -69,3 +69,4 @@ if (empty($obj)) {
var_dump($obj); var_dump($obj);
print "\n"; print "\n";
} }
?>

View File

@ -71,3 +71,4 @@ if (have_option('i')) {
$handler = new SmsQueueHandler($id); $handler = new SmsQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -283,4 +283,4 @@ if (have_option('d') || have_option('debug')) {
$syncer = new SyncTwitterFriendsDaemon($id, 60, 2, $debug); $syncer = new SyncTwitterFriendsDaemon($id, 60, 2, $debug);
$syncer->runOnce(); $syncer->runOnce();
?>

View File

@ -54,3 +54,4 @@ $cnt = $user->find();
while ($user->fetch()) { while ($user->fetch()) {
Notice_inbox::gc($user->id); Notice_inbox::gc($user->id);
} }
?>

View File

@ -72,3 +72,4 @@ if (have_option('i')) {
$handler = new TwitterQueueHandler($id); $handler = new TwitterQueueHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -562,4 +562,4 @@ if (have_option('d') || have_option('debug')) {
$fetcher = new TwitterStatusFetcher($id, 60, 2, $debug); $fetcher = new TwitterStatusFetcher($id, 60, 2, $debug);
$fetcher->runOnce(); $fetcher->runOnce();
?>

View File

@ -50,3 +50,4 @@ foreach ($ids as $id) {
$memc->delete(common_cache_key('user:notices_with_friends:'. $user->id)); $memc->delete(common_cache_key('user:notices_with_friends:'. $user->id));
$memc->delete(common_cache_key('user:notices_with_friends:'. $user->id . ';last')); $memc->delete(common_cache_key('user:notices_with_friends:'. $user->id . ';last'));
} }
?>

View File

@ -96,3 +96,4 @@ function curl_get_file($url)
return FALSE; return FALSE;
} }
?>

View File

@ -160,4 +160,4 @@ if (have_option('i')) {
$handler = new XmppConfirmHandler($id); $handler = new XmppConfirmHandler($id);
$handler->runOnce(); $handler->runOnce();
?>

View File

@ -412,3 +412,4 @@ $foreground = have_option('f', 'foreground');
$daemon = new XMPPDaemon($id, !$foreground); $daemon = new XMPPDaemon($id, !$foreground);
$daemon->runOnce(); $daemon->runOnce();
?>