Open tags should have closing tags
This commit is contained in:
parent
d1a5a49875
commit
aeca8807db
|
@ -38,3 +38,4 @@ if ($sn->find()) {
|
||||||
print "$sn->nickname\n";
|
print "$sn->nickname\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -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);
|
||||||
|
?>
|
||||||
|
|
|
@ -48,3 +48,4 @@ if (!$object) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = $object->decache();
|
$result = $object->decache();
|
||||||
|
?>
|
||||||
|
|
|
@ -66,3 +66,4 @@ if (!have_option('y', 'yes')) {
|
||||||
print "Deleting...";
|
print "Deleting...";
|
||||||
$user->delete();
|
$user->delete();
|
||||||
print "DONE.\n";
|
print "DONE.\n";
|
||||||
|
?>
|
||||||
|
|
|
@ -137,3 +137,4 @@ if ($handler->start()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$handler->finish();
|
$handler->finish();
|
||||||
|
?>
|
||||||
|
|
|
@ -72,3 +72,4 @@ if (have_option('i')) {
|
||||||
$handler = new FacebookQueueHandler($id);
|
$handler = new FacebookQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -68,3 +68,4 @@ while ($nid->fetch()) {
|
||||||
|
|
||||||
print ".\n";
|
print ".\n";
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -45,3 +45,4 @@ while ($notice->fetch()) {
|
||||||
common_log_db_error($notice, 'UPDATE', __FILE__);
|
common_log_db_error($notice, 'UPDATE', __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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -49,3 +49,4 @@ while ($notice->fetch()) {
|
||||||
common_log_db_error($notice, 'UPDATE', __FILE__);
|
common_log_db_error($notice, 'UPDATE', __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);
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -363,3 +363,4 @@ $fixer = new UTF8FixerUpper(array('max_date' => $max_date,
|
||||||
|
|
||||||
$fixer->fixup();
|
$fixer->fixup();
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
|
@ -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');
|
||||||
|
?>
|
||||||
|
|
|
@ -52,3 +52,4 @@ echo "pingqueuehandler.php ";
|
||||||
if (common_config('sms', 'enabled')) {
|
if (common_config('sms', 'enabled')) {
|
||||||
echo "smsqueuehandler.php ";
|
echo "smsqueuehandler.php ";
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -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'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -76,3 +76,4 @@ if (have_option('i')) {
|
||||||
$handler = new JabberQueueHandler($id);
|
$handler = new JabberQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -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');
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -85,3 +85,4 @@ if (have_option('i')) {
|
||||||
$handler = new OmbQueueHandler($id);
|
$handler = new OmbQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -67,3 +67,4 @@ if (have_option('i')) {
|
||||||
$handler = new PingQueueHandler($id);
|
$handler = new PingQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -74,3 +74,4 @@ if (have_option('i')) {
|
||||||
$handler = new PublicQueueHandler($id);
|
$handler = new PublicQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -28,3 +28,4 @@ END_OF_SNAPSHOT_HELP;
|
||||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||||
|
|
||||||
Snapshot::check();
|
Snapshot::check();
|
||||||
|
?>
|
||||||
|
|
|
@ -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);
|
||||||
|
?>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -69,3 +69,4 @@ if (empty($obj)) {
|
||||||
var_dump($obj);
|
var_dump($obj);
|
||||||
print "\n";
|
print "\n";
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -71,3 +71,4 @@ if (have_option('i')) {
|
||||||
$handler = new SmsQueueHandler($id);
|
$handler = new SmsQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -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();
|
||||||
|
?>
|
||||||
|
|
|
@ -54,3 +54,4 @@ $cnt = $user->find();
|
||||||
while ($user->fetch()) {
|
while ($user->fetch()) {
|
||||||
Notice_inbox::gc($user->id);
|
Notice_inbox::gc($user->id);
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -72,3 +72,4 @@ if (have_option('i')) {
|
||||||
$handler = new TwitterQueueHandler($id);
|
$handler = new TwitterQueueHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -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();
|
||||||
|
?>
|
||||||
|
|
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -96,3 +96,4 @@ function curl_get_file($url)
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
|
@ -160,4 +160,4 @@ if (have_option('i')) {
|
||||||
$handler = new XmppConfirmHandler($id);
|
$handler = new XmppConfirmHandler($id);
|
||||||
|
|
||||||
$handler->runOnce();
|
$handler->runOnce();
|
||||||
|
?>
|
||||||
|
|
|
@ -412,3 +412,4 @@ $foreground = have_option('f', 'foreground');
|
||||||
$daemon = new XMPPDaemon($id, !$foreground);
|
$daemon = new XMPPDaemon($id, !$foreground);
|
||||||
|
|
||||||
$daemon->runOnce();
|
$daemon->runOnce();
|
||||||
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user