remove unneeded global
This commit is contained in:
parent
30b746c603
commit
2ff01b6bcb
|
@ -589,7 +589,6 @@ else if (document.layers) window.onload=start_slider;
|
||||||
|
|
||||||
function exportEventImagesMaster( $eids )
|
function exportEventImagesMaster( $eids )
|
||||||
{
|
{
|
||||||
global $SLANG;
|
|
||||||
ob_start();
|
ob_start();
|
||||||
exportHeader( translate('Images').' Master' );
|
exportHeader( translate('Images').' Master' );
|
||||||
?>
|
?>
|
||||||
|
@ -599,9 +598,9 @@ function exportEventImagesMaster( $eids )
|
||||||
foreach ($eids as $eid) {
|
foreach ($eids as $eid) {
|
||||||
//get monitor id and event id
|
//get monitor id and event id
|
||||||
$sql = 'SELECT E.MonitorId, E.StartTime, E.Id
|
$sql = 'SELECT E.MonitorId, E.StartTime, E.Id
|
||||||
FROM Monitors AS M INNER JOIN Events AS E ON (M.Id = E.MonitorId)
|
FROM Monitors AS M INNER JOIN Events AS E ON (M.Id = E.MonitorId)
|
||||||
WHERE E.Id = ?
|
WHERE E.Id = ?
|
||||||
';
|
';
|
||||||
$event = dbFetchOne( $sql, NULL, array( $eid ) );
|
$event = dbFetchOne( $sql, NULL, array( $eid ) );
|
||||||
$eventMonitorId[$eid] = $event['MonitorId'];
|
$eventMonitorId[$eid] = $event['MonitorId'];
|
||||||
$eventPath[$eid] = mygetEventPath( $event );
|
$eventPath[$eid] = mygetEventPath( $event );
|
||||||
|
|
Loading…
Reference in New Issue