PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/base/services/gcloud.php +6 -1 1.4.1 → 1.4.2 View file →
@@ -1398,8 +1398,13 @@
1398 1398 * Get domain URL
1399 1399 */
1400 1400 public function get_domain() {
1401 1401 $url_base = 'https://storage.googleapis.com';
1402 -
1402 +
1403 1403 return $url_base;
1404 + }
1405 +
1406 + /** Exposes the already-constructed SDK client for StreamWrapper's registration — avoids reconstructing one from credentials. */
1407 + public function get_client() {
1408 + return $this->gcloudClient;
1404 1409 }
1405 1410 }