forked from Cavemanon/cavepaintings
scrutinizing
This commit is contained in:
@@ -66,7 +66,6 @@ class CommentListTheme extends Themelet {
|
||||
|
||||
$comment_count = count($comments);
|
||||
if($comment_limit > 0 && $comment_count > $comment_limit) {
|
||||
$hidden = $comment_count - $comment_limit;
|
||||
$comment_html .= '<p>showing '.$comment_limit.' of '.$comment_count.' comments</p>';
|
||||
$comments = array_slice($comments, -$comment_limit);
|
||||
$this->show_anon_id = false;
|
||||
@@ -233,7 +232,6 @@ class CommentListTheme extends Themelet {
|
||||
|
||||
$i_uid = int_escape($comment->owner_id);
|
||||
$h_name = html_escape($comment->owner_name);
|
||||
$h_poster_ip = html_escape($comment->poster_ip);
|
||||
$h_timestamp = autodate($comment->posted);
|
||||
$h_comment = ($trim ? truncate($tfe->stripped, 50) : $tfe->formatted);
|
||||
$i_comment_id = int_escape($comment->comment_id);
|
||||
|
@@ -15,7 +15,6 @@ class IPBanTheme extends Themelet {
|
||||
global $database, $user;
|
||||
$h_bans = "";
|
||||
$prefix = ($database->get_driver_name() == "sqlite" ? "bans." : "");
|
||||
$prefix2 = ($database->get_driver_name() == "sqlite" ? "users." : "");
|
||||
foreach($bans as $ban) {
|
||||
$end_human = date('Y-m-d', $ban[$prefix.'end_timestamp']);
|
||||
$h_bans .= "
|
||||
|
@@ -143,7 +143,6 @@ class Tag_History extends Extension {
|
||||
}
|
||||
|
||||
// lets get the values out of the result
|
||||
$stored_result_id = $result['id'];
|
||||
$stored_image_id = int_escape($result['image_id']);
|
||||
$stored_tags = $result['tags'];
|
||||
|
||||
|
@@ -80,7 +80,6 @@ class Update extends Extension {
|
||||
global $config, $page;
|
||||
|
||||
$commitSHA = $_GET['sha'];
|
||||
$g_userrepo = $config->get_string('update_guserrepo');
|
||||
|
||||
log_info("update", "Download succeeded. Attempting to update Shimmie.");
|
||||
$config->set_bool("in_upgrade", TRUE);
|
||||
|
Reference in New Issue
Block a user