ext show
This commit is contained in:
+6
-1
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user