Ejemplo n.º 1
0
 public function putPhoto($localFile, $remoteFile, $dateTaken)
 {
     if (strpos($remoteFile, '/original/') === false) {
         return parent::putPhoto($localFile, $remoteFile, $dateTaken);
     } else {
         return $this->archiveOrg->fs->putPhoto($localFile, $remoteFile, $dateTaken);
     }
 }
Ejemplo n.º 2
0
 public function putPhoto($localFile, $remoteFile)
 {
     $parentStatus = true;
     if (strpos($remoteFile, '/original/') === false) {
         $parentStatus = parent::putPhoto($localFile, $remoteFile);
     }
     return $this->dropbox->putPhoto($localFile, $remoteFile) && $parentStatus;
 }