From 3f1bda226a146caca3ac3253dc382da09215d8b7 Mon Sep 17 00:00:00 2001 From: "M@dD3n" Date: Wed, 28 Aug 2019 22:29:52 +0300 Subject: [PATCH] Fixes --- class/class.docs.php | 12 ------------ functions/func.documents.php | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/class/class.docs.php b/class/class.docs.php index 1864400..e7ef1aa 100755 --- a/class/class.docs.php +++ b/class/class.docs.php @@ -4441,17 +4441,5 @@ exit; } - - - function DocumentBeforeSave ($data) - { - return $data['data']; - } - - - function DocumentAfterSave ($data) - { - return $data; - } } ?> \ No newline at end of file diff --git a/functions/func.documents.php b/functions/func.documents.php index 3bb605f..2d5bde6 100644 --- a/functions/func.documents.php +++ b/functions/func.documents.php @@ -143,4 +143,16 @@ return $data; } + + + function DocumentBeforeSave ($data) + { + return $data['data']; + } + + + function DocumentAfterSave ($data) + { + return $data; + } ?> \ No newline at end of file