-
Notifications
You must be signed in to change notification settings - Fork 0
/
GoogleCloudStorageFile.php
37 lines (32 loc) · 1.2 KB
/
GoogleCloudStorageFile.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/******************************************************************************
* This file is part of the MediaWiki/extensions/CloudStorage extension.
*
* (c) Copyright 2015 TYONLINE TECHNOLOGY PTY. LTD.
*
* This file may be distributed and/or modified under the terms of the
* GNU LESSER GENERAL PUBLIC LICENSE, Version 3 as published by the Free Software
* Foundation and appearing in the file LICENSE.LGPL included in the
* packaging of this file.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
*
*******************************************************************************
*
* @created 27/Jun/2015
* @author Eric Tang
*
*******************************************************************************/
require_once( "$IP/extensions/CloudStorage/CloudStorageFile.php" );
class GoogleCloudStorageFile extends CloudStorageFile {
protected $repoClass = 'GoogleCloudStorageRepo';
public function __construct($title, $repo) {
parent::__construct();
// $this->repoClass = 'GoogleCloudStorageRepo';
}
function publish( $srcPath, $flags = 0 ) {
return LocalFile::publish($srcPath, $flags);
}
}