Skip to content

Commit c613621

Browse files
committed
api update
1 parent 82406cc commit c613621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: slides/slides.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,12 @@ <h1>Creating a session</h1>
293293
use PHPCR\SimpleCredentials;
294294

295295
// start of implementation specific configuration //
296-
use Jackalope\RepositoryFactoryJackrabbit as Factory;
297296
$parameters = array(
298297
'jackalope.jackrabbit_uri'
299298
=> 'http://localhost:8080/server',
300299
);
301-
$repository = Factory::getRepository($parameters);
300+
$factory = new \Jackalope\RepositoryFactoryJackrabbit();
301+
$repository = $factory->getRepository($parameters);
302302
// end of implementation specific configuration //
303303

304304
$creds = new SimpleCredentials('admin','admin');

0 commit comments

Comments
 (0)