Move some classes in new namespaces and refactor some code.

This commit is contained in:
Daniele Alessandri
2011-01-07 20:56:36 +01:00
parent 62b8569dc8
commit 3b2681f2c8
3 changed files with 818 additions and 793 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
require_once 'SharedConfigurations.php';
class SimpleDebuggableConnection extends Predis\TcpConnection {
class SimpleDebuggableConnection extends Predis\Network\TcpConnection {
private $_debugBuffer = array();
private $_tstart = 0;
+816 -791
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -50,7 +50,7 @@ class RC {
}
private static function createConnection() {
$serverProfile = Predis\RedisServerProfile::get('dev');
$serverProfile = Predis\Profiles\ServerProfile::get('dev');
$connection = new Predis\Client(RC::getConnectionArguments(), $serverProfile);
$connection->connect();
$connection->select(RC::DEFAULT_DATABASE);