GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://kyberia.cz/srv/git/kyberia-bloodline
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
configure_parent.inc
diff --git
a/wwwroot/inc/eventz/configure_parent.inc
b/wwwroot/inc/eventz/configure_parent.inc
index 5da27551b58515490cbe5fefa3082123d0a77646..31846ff74cb272ba5d2e6ade4e1d5ed10deefd07 100644
(file)
--- a/
wwwroot/inc/eventz/configure_parent.inc
+++ b/
wwwroot/inc/eventz/configure_parent.inc
@@
-1,6
+1,6
@@
<?php
function configure_parent() {
<?php
function configure_parent() {
- global $db,$error,$node;
+ global $db,$error,$node
,$logger
;
$user_id=$_SESSION['user_id'];
if (empty($_POST['node_creator'])) {
$user_id=$_SESSION['user_id'];
if (empty($_POST['node_creator'])) {
@@
-50,7
+50,7
@@
function configure_parent() {
$db->update($q);
$q="update nodes set node_children_count=node_children_count-1 where node_id='$old_parent'";
$db->update($q);
$db->update($q);
$q="update nodes set node_children_count=node_children_count-1 where node_id='$old_parent'";
$db->update($q);
-
log::
log('vector change',$changed,$old_vector,$node_vector);
+
$logger->
log('vector change',$changed,$old_vector,$node_vector);
}
return true;
}
return true;
-?>
\ No newline at end of file
+?>
This page took
0.11385 seconds
and
4
git commands to generate.