Exemplo n.º 1
0
 /**
  * Do copy/move into current folder.
  */
 public function paste()
 {
     JoomDOCFileSystem::doOperation();
     //display "added X files/folders" only if not 0
     $this->setRedirect(JoomDOCRoute::viewDocuments(), ($refreshed = JoomDOCFileSystem::refresh()) > 1 ? JText::sprintf('JOOMDOC_REFRESHED', $refreshed) : null);
 }