Skip to content

Commit

Permalink
Remove all getPaths(), we're in get()-world now.
Browse files Browse the repository at this point in the history
  • Loading branch information
gslin committed Jul 16, 2013
1 parent 168d692 commit 79ebde9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -18,7 +18,7 @@ make install
- ``bool MogileFs::close()``
- ``bool MogileFs::put(file, string $key, string $class[, bool $use_file])``
- ``array MogileFs::file(string $key)``
- ``array MogileFs::getPaths (string $key)``
- ``array MogileFs::get (string $key)``
- ``bool MogileFs::delete (string $key)``
- ``bool MogileFs::rename (string $from_key, string $to_key)``
- ``bool MogileFs::listKeys (string $prefix, string $after, integer $limit)``
Expand Down Expand Up @@ -49,7 +49,7 @@ make install
$mg = new MogileFs();
$mg->connect('192.168.101.1', 6001, 'myDomain');
$mg->put('/example/file.jpg', 'my_key', 'my_class');
$paths = $mg->getPaths('my_key');
$paths = $mg->get('my_key');
$mg->close();
```

Expand Down
1 change: 0 additions & 1 deletion php_mogilefs.h
Expand Up @@ -49,7 +49,6 @@ PHP_METHOD(MogileFs, __construct);
PHP_METHOD(MogileFs, isConnected);
PHP_METHOD(MogileFs, connect);
PHP_METHOD(MogileFs, get);
PHP_METHOD(MogileFs, getPaths);
PHP_METHOD(MogileFs, getDomains);
PHP_METHOD(MogileFs, fileInfo);
PHP_METHOD(MogileFs, listKeys);
Expand Down

0 comments on commit 79ebde9

Please sign in to comment.