Se quitan trazas en historial de candidatos y pedidos (funcion actualizarHistorial ( )).
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@61 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
41296de8ee
commit
6780028810
@ -211,7 +211,7 @@ include_once("Automata.php");
|
||||
}else{
|
||||
$historial = "$nombre (de $viejo a $valor)";
|
||||
}
|
||||
$this->actualizarHistorial($historial);
|
||||
//$this->actualizarHistorial($historial);
|
||||
//Si hago un update del perfil tengo que actualizar la afinidad:
|
||||
if(in_array($nombre, $this->listaAfinidad)){
|
||||
$this->calculaAfinidad();
|
||||
@ -738,7 +738,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nueva tecno: $nombre_tecno";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaTecnologias[$nombre_tecno] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -764,7 +764,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nuevo idioma: $nombre_idioma";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaIdiomas[$nombre_idioma] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -790,7 +790,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nuevo perfil: $nombre_perfil";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaPerfiles[$nombre_perfil] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -816,7 +816,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nueva provincia: $nombre_provincia";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listasProvincias[$nombre_provincia] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -842,7 +842,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada tecno: $nombre_tecno";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaTecnologias;
|
||||
$this->listaTecnologias = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -875,7 +875,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminado idioma: $nombre_idioma";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaIdiomas;
|
||||
$this->listaIdiomas = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -908,7 +908,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada provicia: $nombre_provincia";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listasProvincias;
|
||||
$this->listasProvincias = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -941,7 +941,7 @@ include_once("Automata.php");
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminado perfil: $nombre_perfil";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaPerfiles;
|
||||
$this->listaPerfiles = null;
|
||||
foreach($lista as $key => $value){
|
||||
|
||||
@ -252,7 +252,7 @@
|
||||
}
|
||||
//Hay campos que no actualizan el historial
|
||||
if(($nombre != "msgEstado") && ($nombre != "diasEspera")){
|
||||
$this->actualizarHistorial($historial);
|
||||
//$this->actualizarHistorial($historial);
|
||||
}
|
||||
// }
|
||||
return $dato;
|
||||
@ -557,7 +557,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nueva tecno: $nombre_tecno";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
// $this->actualizarHistorial($mensaje);
|
||||
$this->listaTecnologias[$nombre_tecno] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -583,7 +583,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nuevo idioma: $nombre_idioma";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
// $this->actualizarHistorial($mensaje);
|
||||
$this->listaIdiomas[$nombre_idioma] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -609,7 +609,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nueva titu: $nombre_titulacion";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaTitulaciones[$nombre_titulacion] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -635,7 +635,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nueva provincia deseada: ".$nombre_provincia;
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaProvinciasDeseadas[$nombre_provincia] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -662,7 +662,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nueva provincia no deseada: ".$nombre_provincia;
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaProvinciasNoDeseadas[$nombre_provincia] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -689,7 +689,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Nuevo perfil: ".$nombre_perfil;
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$this->listaPerfiles[$nombre_perfil] = $id;
|
||||
}else{
|
||||
return false;
|
||||
@ -731,7 +731,7 @@
|
||||
$bd = new BD();
|
||||
$consulta = "INSERT INTO curriculum_usuario (oid, curriculum, fecha) values ('".$oid."', '".$nombre_ruta_tabla."', now())";
|
||||
$bd->execQuery($consulta);
|
||||
$this->actualizarHistorial("Nuevo CV", $usuario);
|
||||
//$this->actualizarHistorial("Nuevo CV", $usuario);
|
||||
$consulta = "update usuarios set cv=cv+1 where oid='$oid'";
|
||||
$bd->execQuery($consulta);
|
||||
return true;
|
||||
@ -752,7 +752,7 @@
|
||||
|
||||
$cambios = "CV eliminado";
|
||||
|
||||
$this->actualizarHistorial($cambios, $usuario);
|
||||
//$this->actualizarHistorial($cambios, $usuario);
|
||||
$ruta = constante("srcDocs")."\\".$curriculum;
|
||||
if (!@unlink($ruta)){
|
||||
return false;
|
||||
@ -780,7 +780,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada tecno: $nombre_tecno";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaTecnologias;
|
||||
$this->listaTecnologias = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -813,7 +813,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminado idioma: $nombre_idioma";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaIdiomas;
|
||||
$this->listaIdiomas = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -846,7 +846,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada titulacion: $nombre_titulacion";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaTitulaciones;
|
||||
$this->listaTitulaciones = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -879,7 +879,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada provincia deseada: $nombre_provincia";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaProvinciasDeseadas;
|
||||
$this->listaProvinciasDeseadas = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -913,7 +913,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada provincia no deseada: $nombre_provincia";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaProvinciasNoDeseadas;
|
||||
$this->listaProvinciasNoDeseadas = null;
|
||||
foreach($lista as $key => $value){
|
||||
@ -950,7 +950,7 @@
|
||||
$bd = new BD();
|
||||
if($bd->execQuery($consulta)){
|
||||
$mensaje = "Eliminada localidad deseada: $nombre_perfil";
|
||||
$this->actualizarHistorial($mensaje);
|
||||
//$this->actualizarHistorial($mensaje);
|
||||
$lista = $this->listaPerfiles;
|
||||
$this->listaPerfiles = null;
|
||||
foreach($lista as $key => $value){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user