/**
  * Read legacy config data
  *
  * @return array list of storage configs
  */
 protected function readLegacyConfig()
 {
     // read user config
     $user = $this->userSession->getUser()->getUID();
     return \OC_Mount_Config::readData($user);
 }
 /**
  * Read legacy config data
  *
  * @return array list of mount configs
  */
 protected function readLegacyConfig()
 {
     // read global config
     return \OC_Mount_Config::readData();
 }