File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed 
apps/files_sharing/lib/External 
lib/private/Files/Storage Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ public function setMountPoint($source, $target) {
328328	public  function  removeShare ($ mountPoint
329329
330330		$ mountPointObj$ this mountManager ->find ($ mountPoint
331- 		$ id$ mountPointObjgetStorage ()->getCache ()->getId ();
331+ 		$ id$ mountPointObjgetStorage ()->getCache ()->getId ('' );
332332
333333		$ mountPoint$ this stripPath ($ mountPoint
334334		$ hashmd5 ($ mountPoint
Original file line number Diff line number Diff line change @@ -107,7 +107,11 @@ public function __construct($params) {
107107			}
108108			if  ($ this secure  === true ) {
109109				// inject mock for testing 
110- 				$ certPathgetHome (\OC_User::getUser ()) . '/files_external/rootcerts.crt ' ;
110+ 				$ certManagerOC ::$ servergetCertificateManager ();
111+ 				if  (is_null ($ certManager//no user 
112+ 					$ certManagerOC ::$ servergetCertificateManager (null );
113+ 				}
114+ 				$ certPath$ certManagergetAbsoluteBundlePath ();
111115				if  (file_exists ($ certPath
112116					$ this certPath  = $ certPath
113117				}
@@ -812,6 +816,7 @@ public function hasUpdated($path, $time) {
812816	 * which might be temporary 
813817	 */ 
814818	private  function  convertException (Exception $ e$ path'' ) {
819+ 		\OC ::$ servergetLogger ()->logException ($ e
815820		Util::writeLog ('files_external ' , $ egetMessage (), Util::ERROR );
816821		if  ($ einstanceof  ClientHttpException) {
817822			if  ($ egetHttpStatus () === Http::STATUS_LOCKED ) {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments