summaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/irodsphp/prods/src/ProdsTicket.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/irodsphp/prods/src/ProdsTicket.class.php')
-rw-r--r--apps/files_external/3rdparty/irodsphp/prods/src/ProdsTicket.class.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/apps/files_external/3rdparty/irodsphp/prods/src/ProdsTicket.class.php b/apps/files_external/3rdparty/irodsphp/prods/src/ProdsTicket.class.php
deleted file mode 100644
index 0038a9c073a..00000000000
--- a/apps/files_external/3rdparty/irodsphp/prods/src/ProdsTicket.class.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-/**
- * Developer: Daniel Speichert <s@drexel.edu>
- * Date: 30.01.13
- * Time: 14:15
- */
-
-require_once("autoload.inc.php");
-
-class ProdsTicket
-{
- private $account;
-
- public function __construct( RODSAccount &$account )
- {
- $this->account = $account;
- }
-
- /*
- * This is just a stupid wrapper
- * It proxifies RODSConn->createTicket
- */
- public function createTicket( $object, $permission = 'read', $ticket = '' )
- {
- $conn = RODSConnManager::getConn($this->account);
- $ticket = $conn->createTicket($object, $permission, $ticket );
- RODSConnManager::releaseConn($conn);
- return $ticket;
- }
-
- /*
- * This is also a stupid wrapper
- * It proxifies RODSConn->deleteTicket
- */
- public function deleteTicket( $ticket )
- {
- $conn = RODSConnManager::getConn($this->account);
- $ticket = $conn->deleteTicket( $ticket );
- RODSConnManager::releaseConn($conn);
- }
-} \ No newline at end of file