Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Weird cases using ; instead of :
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 14, 2015
1 parent 49ccb74 commit 48d98a2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/src/plugins/access.fs/class.fsAccessDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ public function switchAction($action, $httpVars, $fileVars)
//------------------------------------
// COPY / MOVE
//------------------------------------
case "copy";
case "move";
case "copy":
case "move":

if ($selection->isEmpty()) {
throw new AJXP_Exception("", 113);
Expand Down Expand Up @@ -530,7 +530,7 @@ public function switchAction($action, $httpVars, $fileVars)
//------------------------------------
// DELETE
//------------------------------------
case "delete";
case "delete":

if ($selection->isEmpty()) {
throw new AJXP_Exception("", 113);
Expand Down Expand Up @@ -567,7 +567,7 @@ public function switchAction($action, $httpVars, $fileVars)
//------------------------------------
// RENAME
//------------------------------------
case "rename";
case "rename":

$file = $selection->getUniqueFile();
$filename_new = AJXP_Utils::decodeSecureMagic($httpVars["filename_new"]);
Expand All @@ -591,7 +591,7 @@ public function switchAction($action, $httpVars, $fileVars)
//------------------------------------
// CREER UN REPERTOIRE / CREATE DIR
//------------------------------------
case "mkdir";
case "mkdir":

$messtmp="";
$files = $selection->getFiles();
Expand Down Expand Up @@ -641,7 +641,7 @@ public function switchAction($action, $httpVars, $fileVars)
//------------------------------------
// CREER UN FICHIER / CREATE FILE
//------------------------------------
case "mkfile";
case "mkfile":

$messtmp="";
if(empty($httpVars["filename"]) && isSet($httpVars["node"])){
Expand Down Expand Up @@ -678,7 +678,7 @@ public function switchAction($action, $httpVars, $fileVars)
//------------------------------------
// CHANGE FILE PERMISSION
//------------------------------------
case "chmod";
case "chmod":

$files = $selection->getFiles();
$changedFiles = array();
Expand Down

0 comments on commit 48d98a2

Please sign in to comment.