summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2021-05-03 17:51:04 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-12 17:15:01 +0200
commit1206fea4c6c3d07a2cc26fac8ca95fb8e180e901 (patch)
treeb7689176154f1f517c46c1218d7d7241f4f57344
parentf738ae919bc52909a379ece8aac35e61a3fb0fb7 (diff)
#1040 Fix delete cache image on computer groups
This commit fixes delete image cache (EliminarImagenCache) form to show cached images as expected when used on a scope group of computers
-rw-r--r--admin/WebConsole/comandos/EliminarImagenCache.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/WebConsole/comandos/EliminarImagenCache.php b/admin/WebConsole/comandos/EliminarImagenCache.php
index 4fb0088a..6c9e92ba 100644
--- a/admin/WebConsole/comandos/EliminarImagenCache.php
+++ b/admin/WebConsole/comandos/EliminarImagenCache.php
@@ -307,11 +307,10 @@ switch($ambito){
break;
case $AMBITO_GRUPOSORDENADORES :
- $cmd->texto="SELECT * FROM ordenadores,aulas,ordenadores_particiones,gruposordenadores
+ $cmd->texto="SELECT * FROM ordenadores,aulas,ordenadores_particiones
JOIN sistemasficheros USING(idsistemafichero)
WHERE ordenadores_particiones.idordenador=ordenadores.idordenador
AND ordenadores.idaula=aulas.idaula
- AND gruposordenadores.idaula=aulas.idaula
AND aulas.idcentro='$idc'
AND sistemasficheros.nemonico='CACHE'
AND ordenadores.grupoid='$idambito'";