Commit d70639aa authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(management) Fix disabling of paste action

And clean a bit CopyPasteHandler

issue #5135
Showing with 6 additions and 9 deletions
+6 -9
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
*/ */
class CopyPasteHandler class CopyPasteHandler
{ {
var $current; var $current = FALSE;
/*! /*!
* \brief This array contains all dns of the currently copied objects * \brief This array contains all dns of the currently copied objects
...@@ -43,23 +43,20 @@ class CopyPasteHandler ...@@ -43,23 +43,20 @@ class CopyPasteHandler
/*! /*!
* \brief The dn of the last edited object * \brief The dn of the last edited object
*/ */
var $lastdn = ""; protected $lastdn = '';
var $disallowed_objects = array(); protected $disallowed_objects = array();
var $objects_to_fix = array(); protected $objects_to_fix = array();
var $clean_objects = array(); protected $clean_objects = array();
var $require_update = FALSE; protected $require_update = FALSE;
/*! /*!
* \brief Create CP handler * \brief Create CP handler
*/ */
function __construct() function __construct()
{ {
$this->current = NULL;
$this->queue = array();
} }
/*! /*!
* \brief Entry entry to Copy & Paste queue. * \brief Entry entry to Copy & Paste queue.
* A Queue entry is represented as follows. * A Queue entry is represented as follows.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment