diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc index 9315f038e1bc1aa26491402fce2d0d92196c3b2a..a3ba4c952818062952312cba8ad026179693921b 100644 --- a/include/class_CopyPasteHandler.inc +++ b/include/class_CopyPasteHandler.inc @@ -29,7 +29,7 @@ */ class CopyPasteHandler { - var $current; + var $current = FALSE; /*! * \brief This array contains all dns of the currently copied objects @@ -43,23 +43,20 @@ class CopyPasteHandler /*! * \brief The dn of the last edited object */ - var $lastdn = ""; + protected $lastdn = ''; - var $disallowed_objects = array(); - var $objects_to_fix = array(); - var $clean_objects = array(); - var $require_update = FALSE; + protected $disallowed_objects = array(); + protected $objects_to_fix = array(); + protected $clean_objects = array(); + protected $require_update = FALSE; /*! * \brief Create CP handler */ function __construct() { - $this->current = NULL; - $this->queue = array(); } - /*! * \brief Entry entry to Copy & Paste queue. * A Queue entry is represented as follows.