Revert "Open tags should have closing tags"
This reverts commit aeca8807db
.
We specifically DON'T have closing tags so we don't get errors with
whitespace after the closing tag.
I realize this is less of an issue with scripts, but we should still
not use closing tags.
This commit is contained in:
parent
aeca8807db
commit
a6d4adc398
@ -37,5 +37,4 @@ if ($sn->find()) {
|
||||
while ($sn->fetch()) {
|
||||
print "$sn->nickname\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
}
|
@ -140,4 +140,3 @@ $tagmax = (have_option('t', 'tags')) ? get_option_value('t', 'tags') : 10000
|
||||
$userprefix = (have_option('x', 'prefix')) ? get_option_value('x', 'prefix') : 'testuser';
|
||||
|
||||
main($usercount, $noticeavg, $subsavg, $tagmax);
|
||||
?>
|
||||
|
@ -48,4 +48,3 @@ if (!$object) {
|
||||
}
|
||||
|
||||
$result = $object->decache();
|
||||
?>
|
||||
|
@ -66,4 +66,3 @@ if (!have_option('y', 'yes')) {
|
||||
print "Deleting...";
|
||||
$user->delete();
|
||||
print "DONE.\n";
|
||||
?>
|
||||
|
@ -137,4 +137,3 @@ if ($handler->start()) {
|
||||
}
|
||||
|
||||
$handler->finish();
|
||||
?>
|
||||
|
@ -72,4 +72,3 @@ if (have_option('i')) {
|
||||
$handler = new FacebookQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -68,4 +68,3 @@ while ($nid->fetch()) {
|
||||
|
||||
print ".\n";
|
||||
}
|
||||
?>
|
||||
|
@ -45,4 +45,3 @@ while ($notice->fetch()) {
|
||||
common_log_db_error($notice, 'UPDATE', __FILE__);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -79,4 +79,3 @@ while ($user->fetch()) {
|
||||
$cache->delete(common_cache_key('user:notices_with_friends:' . $user->id));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -49,4 +49,3 @@ while ($notice->fetch()) {
|
||||
common_log_db_error($notice, 'UPDATE', __FILE__);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -39,4 +39,3 @@ while ($notice->fetch()) {
|
||||
common_log(LOG_INFO, 'Getting replies for notice #' . $notice->id);
|
||||
common_save_replies($notice);
|
||||
}
|
||||
?>
|
||||
|
@ -363,4 +363,3 @@ $fixer = new UTF8FixerUpper(array('max_date' => $max_date,
|
||||
|
||||
$fixer->fixup();
|
||||
|
||||
?>
|
||||
|
@ -28,4 +28,3 @@ ENDOFHELP;
|
||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||
|
||||
echo common_config('daemon', 'piddir');
|
||||
?>
|
||||
|
@ -52,4 +52,3 @@ echo "pingqueuehandler.php ";
|
||||
if (common_config('sms', 'enabled')) {
|
||||
echo "smsqueuehandler.php ";
|
||||
}
|
||||
?>
|
||||
|
@ -105,4 +105,3 @@ foreach ($ids as $id) {
|
||||
$cache->delete(common_cache_key('user:notices_with_friends:' . $user->id . ';last'));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -76,4 +76,3 @@ if (have_option('i')) {
|
||||
$handler = new JabberQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -389,4 +389,3 @@ if (common_config('emailpost', 'enabled')) {
|
||||
$md = new MailerDaemon();
|
||||
$md->handle_message('php://stdin');
|
||||
}
|
||||
?>
|
||||
|
@ -85,4 +85,3 @@ if (have_option('i')) {
|
||||
$handler = new OmbQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -67,4 +67,3 @@ if (have_option('i')) {
|
||||
$handler = new PingQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -74,4 +74,3 @@ if (have_option('i')) {
|
||||
$handler = new PublicQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -28,4 +28,3 @@ END_OF_SNAPSHOT_HELP;
|
||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||
|
||||
Snapshot::check();
|
||||
?>
|
||||
|
@ -34,4 +34,3 @@ $maxlifetime = ini_get('session.gc_maxlifetime');
|
||||
print "Deleting sessions older than $maxlifetime seconds.\n";
|
||||
|
||||
Session::gc($maxlifetime);
|
||||
?>
|
||||
|
@ -59,4 +59,3 @@ if (!$user->update($original)) {
|
||||
print "Password for user '$nickname' updated.\n";
|
||||
exit(0);
|
||||
}
|
||||
?>
|
||||
|
@ -69,4 +69,3 @@ if (empty($obj)) {
|
||||
var_dump($obj);
|
||||
print "\n";
|
||||
}
|
||||
?>
|
||||
|
@ -71,4 +71,3 @@ if (have_option('i')) {
|
||||
$handler = new SmsQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -283,4 +283,4 @@ if (have_option('d') || have_option('debug')) {
|
||||
|
||||
$syncer = new SyncTwitterFriendsDaemon($id, 60, 2, $debug);
|
||||
$syncer->runOnce();
|
||||
?>
|
||||
|
||||
|
@ -54,4 +54,3 @@ $cnt = $user->find();
|
||||
while ($user->fetch()) {
|
||||
Notice_inbox::gc($user->id);
|
||||
}
|
||||
?>
|
||||
|
@ -72,4 +72,3 @@ if (have_option('i')) {
|
||||
$handler = new TwitterQueueHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
@ -562,4 +562,4 @@ if (have_option('d') || have_option('debug')) {
|
||||
|
||||
$fetcher = new TwitterStatusFetcher($id, 60, 2, $debug);
|
||||
$fetcher->runOnce();
|
||||
?>
|
||||
|
||||
|
@ -50,4 +50,3 @@ 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 . ';last'));
|
||||
}
|
||||
?>
|
||||
|
@ -96,4 +96,3 @@ function curl_get_file($url)
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
?>
|
||||
|
@ -160,4 +160,4 @@ if (have_option('i')) {
|
||||
$handler = new XmppConfirmHandler($id);
|
||||
|
||||
$handler->runOnce();
|
||||
?>
|
||||
|
||||
|
@ -412,4 +412,3 @@ $foreground = have_option('f', 'foreground');
|
||||
$daemon = new XMPPDaemon($id, !$foreground);
|
||||
|
||||
$daemon->runOnce();
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user