1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Issue #5481 clear update info after github update.

This commit is contained in:
camer0n
2025-04-27 05:48:27 -07:00
parent 3f9dc94d12
commit 34894d72e8
4 changed files with 12 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ if(e_AJAX_REQUEST && getperms('0') && varset($_GET['mode']) == 'addons' && ($_G
$tp = e107::getParser();
$ns->setUniqueId('e-addon-updates');
$ns->setStyle('warning');
$ret = $ns->tablerender($tp->toGlyph('fa-arrow-circle-o-down').LAN_UPDATE_AVAILABLE,$text,'default', true);
$ret = $ns->tablerender($tp->toGlyph('fa-arrow-circle-o-down').defset('LAN_UPDATE_AVAILABLE'),$text,'default', true);
echo $ret;
@@ -292,7 +292,7 @@ function admin_purge_related($table, $id)
$num = $_com->delete_comments($table, $id);
if ($num)
{
$msg .= $num." ".LAN_COMMENTS." ".LAN_DELETED."<br />";
$msg .= $num." ".LAN_COMMENTS." ".defset('LAN_DELETED', 'Deleted')."<br />";
}
// Delete any related ratings
@@ -301,7 +301,7 @@ function admin_purge_related($table, $id)
$num = $_rate->delete_ratings($table, $id);
if ($num)
{
$msg .= LAN_RATING." ".LAN_DELETED."<br />";
$msg .= LAN_RATING." ".defset('LAN_DELETED', 'Deleted')."<br />";
}
if ($msg)