|
From: Rómulo RodrÃg. <elt...@us...> - 2015-01-23 23:04:53
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Global Store".
The branch, master has been updated
via b946ddf057f7af31e2b7550da38dcf1909a1908d (commit)
from b2c6ff7d9e3489f33892bbceeff4e36943671ac3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b946ddf057f7af31e2b7550da38dcf1909a1908d
Author: Rómulo Rodriguez <rod...@gm...>
Date: Fri Jan 23 18:34:31 2015 -0430
Actualizacion de despido
Signed-off-by: Rómulo Rodriguez <rod...@gm...>
diff --git a/src/php/protocol/userp.class.php b/src/php/protocol/userp.class.php
index f1b0743..5fb8d30 100644
--- a/src/php/protocol/userp.class.php
+++ b/src/php/protocol/userp.class.php
@@ -151,11 +151,12 @@ class Userp implements Protocol {
SET fk_sr=2, su_employee=false
WHERE su_nick='".$_GET["id"]."'";
$sql1="
- DELETE FROM employee
- WHERE fk_sys_user='".$_GET["id"]."'";
+ update employe
+ SET Emp_fired_Date=(current_date)
+ WHERE su_nick='".$_GET["id"]."'";
try {
Core::$db->query($sql);
- Core::$db->query($sql1);
+ //Core::$db->query($sql1);
Log::sysLog(5004,"su_nick=".$_GET["id"].",razon=".$_GET["text"],$_GET["id"],Core::$user->getNick());
ProtocolController::createPacket($_GET["pid"],true,true);
} catch (Exception $e) {
-----------------------------------------------------------------------
Summary of changes:
src/php/protocol/userp.class.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
Global Store
|