Skip to content

Commit

Permalink
Removing closing PHP tags
Browse files Browse the repository at this point in the history
  • Loading branch information
e3betht committed Apr 27, 2015
1 parent 4c01584 commit 6179d79
Show file tree
Hide file tree
Showing 92 changed files with 0 additions and 120 deletions.
1 change: 0 additions & 1 deletion cronjobs/blockupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@
}

require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/cron_end.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
$monitoring->endCronjob($cron_name, 'OK', 0, false, false);
$monitoring->setStatus($cron_name . "_runtime", "time", microtime(true) - $cron_start[$cron_name]);
$monitoring->setStatus($cron_name . "_endtime", "date", time());
?>
1 change: 0 additions & 1 deletion cronjobs/findblock.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,3 @@
}

require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,3 @@
}

require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/pplns_payout.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,3 @@
}

require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/pps_payout.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,3 @@
$log->logInfo("Completed PPS Payout");

require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/proportional_payout.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,3 @@
}

require_once('cron_end.inc.php');
?>
2 changes: 0 additions & 2 deletions cronjobs/shared.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,3 @@ function cfip() { return (@defined('SECURITY')) ? 1 : 0; }
$log->logFatal('Cronjob is currently disabled due to required upgrades. Import any outstanding SQL files and check your configuration file.');
$monitoring->endCronjob($cron_name, 'E0075', 0, true, false);
}

?>
1 change: 0 additions & 1 deletion cronjobs/statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@
$log->logInfo(sprintf($strLogMask, 'getTopContributors(shares)', number_format(microtime(true) - $start, 3), $status));

require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/tables_cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@

// Cron cleanup and monitoring
require_once('cron_end.inc.php');
?>
1 change: 0 additions & 1 deletion cronjobs/tickerupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@
$log->logInfo(sprintf($strLogMask, 'Uptime Robot', 'n/a', number_format(microtime(true) - $start, 3), $status, $message));

require_once('cron_end.inc.php');
?>
2 changes: 0 additions & 2 deletions include/admin_checks.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,3 @@
}
}
}

?>
2 changes: 0 additions & 2 deletions include/autoloader.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,3 @@
require_once(CLASS_DIR . '/api.class.php');
require_once(INCLUDE_DIR . '/lib/Michelf/Markdown.php');
require_once(INCLUDE_DIR . '/lib/scrypt.php');

?>
2 changes: 0 additions & 2 deletions include/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@
// Load Classes, they name defines the $ variable used
// We include all needed files here, even though our templates could load them themself
require_once(INCLUDE_DIR . '/autoloader.inc.php');

?>
1 change: 0 additions & 1 deletion include/classes/base.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,4 +284,3 @@ public function getParam() {
return $array;
}
}
?>
2 changes: 0 additions & 2 deletions include/classes/coins/coin_base.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,3 @@ public function calcExpectedNextDifficulty($dDifficulty, $dNetworkHashrate) {
}
}
}

?>
2 changes: 0 additions & 2 deletions include/classes/coins/coin_scrypt.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@
class Coin extends CoinBase {
protected $target_bits = 16;
}

?>
2 changes: 0 additions & 2 deletions include/classes/coins/coin_scryptn.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@
class Coin extends CoinBase {
protected $target_bits = 16;
}

?>
2 changes: 0 additions & 2 deletions include/classes/coins/coin_sha256d.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ class Coin extends CoinBase {
protected $target_bits = 32;
protected $coin_value_precision = 20;
}

?>
2 changes: 0 additions & 2 deletions include/classes/coins/coin_x11.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ class Coin extends CoinBase {
protected $target_bits = 24;
protected $share_difficulty_precision = 4;
}

?>
1 change: 0 additions & 1 deletion include/classes/csrftoken.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,3 @@ private function getHash($string) {
$csrftoken->setToken($oToken);
$csrftoken->setConfig($config);
$csrftoken->setErrorCodes($aErrorCodes);
?>
1 change: 0 additions & 1 deletion include/classes/debug.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@ function printDebugInfo() {

// Instantiate this class
$debug = new Debug($log, $config['DEBUG']);
?>
1 change: 0 additions & 1 deletion include/classes/invitation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,3 @@ public function sendInvitation($account_id, $aData) {
$invitation->setToken($oToken);
$invitation->setConfig($config);
$invitation->setErrorCodes($aErrorCodes);
?>
1 change: 0 additions & 1 deletion include/classes/logger.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ public function log($strType, $strMessage) {
}
}
$log = new Logger($config);
?>
1 change: 0 additions & 1 deletion include/classes/mail.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,3 @@ public function sendMail($template, $aData, $throttle=false) {
$mail->setConfig($config);
$mail->setSetting($setting);
$mail->setErrorCodes($aErrorCodes);
?>
2 changes: 0 additions & 2 deletions include/classes/memcache_ad.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,3 @@ public function getRequestBase() {
return $new;
}
}

?>
1 change: 0 additions & 1 deletion include/classes/news.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@ public function addNews($account_id, $aData, $active=false) {
$news->setMysql($mysqli);
$news->setUser($user);
$news->setErrorCodes($aErrorCodes);
?>
1 change: 0 additions & 1 deletion include/classes/notification.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,3 @@ public function cleanupNotifications($days=7) {
$notification->setConfig($config);
$notification->setSetting($setting);
$notification->setErrorCodes($aErrorCodes);
?>
2 changes: 0 additions & 2 deletions include/classes/payout.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,3 @@ public function setProcessed($id) {
$oPayout->setConfig($config);
$oPayout->setToken($oToken);
$oPayout->setErrorCodes($aErrorCodes);

?>
1 change: 0 additions & 1 deletion include/classes/statistics.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,4 +927,3 @@ public function purgeUserStats($days = 1) {
$statistics->setBitcoin($bitcoin);
$statistics->setErrorCodes($aErrorCodes);
$statistics->setCoin($coin);
?>
2 changes: 0 additions & 2 deletions include/classes/strict.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,3 @@ public function bind_param($paramTypes) {
}
}
}

?>
1 change: 0 additions & 1 deletion include/classes/transaction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,4 +488,3 @@ public function getMPQueue($limit=250) {
$transaction->setUser($user);
$transaction->setPayout($oPayout);
$transaction->setErrorCodes($aErrorCodes);
?>
1 change: 0 additions & 1 deletion include/classes/worker.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,3 @@ public function deleteWorker($account_id, $id) {
$worker->setUser($user);
$worker->setErrorCodes($aErrorCodes);
$worker->setCoin($coin);
?>
1 change: 0 additions & 1 deletion include/config/error_codes.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@
$aErrorCodes['E0080'] = 'No new unaccounted shares since last run';
$aErrorCodes['E0081'] = 'Failed to insert new block into database';
$aErrorCodes['E0082'] = 'Block does not supply any usable confirmation information';
?>
2 changes: 0 additions & 2 deletions include/config/global.inc.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,3 @@
* https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-system-load
**/
$config['system']['load']['max'] = 10.0;

?>
1 change: 0 additions & 1 deletion include/config/memcache_keys.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
define('STATISTICS_ALL_USER_SHARES', 'STATISTICS_ALL_USER_SHARES');
define('STATISTICS_ALL_USER_HASHRATES', 'STATISTICS_ALL_USER_HASHRATES');
define('STATISTICS_ROUND_SHARES', 'STATISTICS_ROUND_SHARES');
?>
2 changes: 0 additions & 2 deletions include/config/monitor_crons.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@
}

$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');

?>
2 changes: 0 additions & 2 deletions include/config/security.inc.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@
**/
$config['maxfailed']['login'] = 3;
$config['maxfailed']['pin'] = 3;

?>
1 change: 0 additions & 1 deletion include/pages/account.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
}
?>
2 changes: 0 additions & 2 deletions include/pages/account/earnings.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@
} else {
$smarty->assign('CONTENT', 'disabled.tpl');
}

?>
1 change: 0 additions & 1 deletion include/pages/account/edit.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/account/invitations.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
}
}
$smarty->assign('CONTENT', 'default.tpl');
?>
2 changes: 0 additions & 2 deletions include/pages/account/notifications.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,3 @@
$smarty->assign('CONTENT', 'default.tpl');
}
}

?>
1 change: 0 additions & 1 deletion include/pages/account/qrcode.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
$smarty->assign("CONTENT", "");
break;
}
?>
1 change: 0 additions & 1 deletion include/pages/account/reset_failed.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
}
// Somehow we still need to load this empty template
$smarty->assign("CONTENT", "empty");
?>
1 change: 0 additions & 1 deletion include/pages/account/transactions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
$smarty->assign('DISABLE_TRANSACTIONSUMMARY', $setting->getValue('disable_transactionsummary'));
}
$smarty->assign('CONTENT', 'default.tpl');
?>
2 changes: 0 additions & 2 deletions include/pages/account/unlock.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
}
}
$smarty->assign('CONTENT', 'default.tpl');

?>
3 changes: 0 additions & 3 deletions include/pages/account/workers.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,3 @@
$smarty->assign('CONTENT', 'default.tpl');
}
}


?>
1 change: 0 additions & 1 deletion include/pages/admin/news_edit.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
$aNews = $news->getEntry($_REQUEST['id']);
$smarty->assign("NEWS", $aNews);
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/admin/newsletter.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@
}
$smarty->assign("CONTENT", "default.tpl");
}
?>
2 changes: 0 additions & 2 deletions include/pages/admin/poolworkers.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@
$smarty->assign('LIMIT', $iLimit);
$smarty->assign('WORKERS', $aWorkers);
$smarty->assign('CONTENT', 'default.tpl');

?>
1 change: 0 additions & 1 deletion include/pages/admin/registrations.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/admin/reports.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@
} else {
$smarty->assign("CONTENT", "empty");
}
?>
1 change: 0 additions & 1 deletion include/pages/admin/settings.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/admin/transactions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@
$smarty->assign('FILTERS', $strFilters);
}
$smarty->assign('CONTENT', 'default.tpl');
?>
1 change: 0 additions & 1 deletion include/pages/admin/user.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/admin/userdetails.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
}

$smarty->assign('CONTENT', 'default.tpl');
?>
1 change: 0 additions & 1 deletion include/pages/admin/wallet.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@
}

$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/api/gettimesincelastblock.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/gettopcontributors.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/getuserbalance.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/getuserhashrate.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/getusersharerate.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/getuserstatus.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/getusertransactions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/getuserworkers.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/api/public.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@

// Supress master template
$supress_master = 1;
?>
1 change: 0 additions & 1 deletion include/pages/contactform.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
}
?>
2 changes: 0 additions & 2 deletions include/pages/contactform/contactform.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");

?>
1 change: 0 additions & 1 deletion include/pages/error/404.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/error/ratelimit.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/gettingstarted.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@

// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>
1 change: 0 additions & 1 deletion include/pages/home.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
}
// Load news entries for Desktop site and unauthenticated users
$smarty->assign("CONTENT", "default.tpl");
?>
2 changes: 0 additions & 2 deletions include/pages/login.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@
}
// Load login template
$smarty->assign('CONTENT', 'default.tpl');

?>
Loading

0 comments on commit 6179d79

Please sign in to comment.