Skip to content

Commit

Permalink
fixed calls to the module php_cask to phpcask
Browse files Browse the repository at this point in the history
  • Loading branch information
videlalvaro committed May 11, 2010
1 parent e009948 commit 8e71037
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions PHPCask.class.php
Expand Up @@ -16,28 +16,28 @@ public function __construct($node, $cookie)
public function put($key, $value)
{
$x = peb_encode("[~b, ~b]", array(array($key, $value)));
$result = peb_rpc("php_cask", "put", $x, $this->link);
$result = peb_rpc("phpcask", "put", $x, $this->link);
return peb_decode($result);
}

public function get($key)
{
$x = peb_encode("[~b]", array(array($key)));
$result = peb_rpc("php_cask", "get", $x, $this->link);
$result = peb_rpc("phpcask", "get", $x, $this->link);
return peb_decode($result);
}

public function delete($key)
{
$x = peb_encode("[~b]", array(array($key)));
$result = peb_rpc("php_cask", "delete", $x, $this->link);
$result = peb_rpc("phpcask", "delete", $x, $this->link);
return peb_decode($result);
}

public function list_keys()
{
$x = peb_encode("[]", array(array()));
$result = peb_rpc("php_cask", "list_keys", $x, $this->link);
$result = peb_rpc("phpcask", "list_keys", $x, $this->link);
return peb_decode($result);
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -17,7 +17,7 @@ Open the Terminal and type:

Inside the erlang CLI:

> php_cask:start().
> phpcask:start().

Open another Terminal window and type:

Expand Down

0 comments on commit 8e71037

Please sign in to comment.