ext show
parent
c4fcd55669
commit
1b8d29354d
|
@ -12,6 +12,11 @@ class Sharelink extends Onedrive {
|
||||||
$this->DownurlStrName = '@content.downloadUrl';
|
$this->DownurlStrName = '@content.downloadUrl';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function ext_show_innerenv()
|
||||||
|
{
|
||||||
|
return [ 'shareurl' ];
|
||||||
|
}
|
||||||
|
|
||||||
protected function get_access_token($refresh_token) {
|
protected function get_access_token($refresh_token) {
|
||||||
if (!($this->access_token = getcache('access_token', $this->disktag))) {
|
if (!($this->access_token = getcache('access_token', $this->disktag))) {
|
||||||
$shareurl = getConfig('shareurl', $this->disktag);
|
$shareurl = getConfig('shareurl', $this->disktag);
|
||||||
|
@ -56,4 +61,4 @@ class Sharelink extends Onedrive {
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue