diff options
author | albertogp <albertogp@uma.es> | 2021-05-03 17:51:04 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-12 17:15:01 +0200 |
commit | 1206fea4c6c3d07a2cc26fac8ca95fb8e180e901 (patch) | |
tree | b7689176154f1f517c46c1218d7d7241f4f57344 /admin/WebConsole/comandos/EliminarImagenCache.php | |
parent | f738ae919bc52909a379ece8aac35e61a3fb0fb7 (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
Diffstat (limited to 'admin/WebConsole/comandos/EliminarImagenCache.php')
-rw-r--r-- | admin/WebConsole/comandos/EliminarImagenCache.php | 3 |
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'"; |