Skip to content
Snippets Groups Projects
Commit ae146871 authored by Sergiu-Lucian Petrica's avatar Sergiu-Lucian Petrica
Browse files

Removed unnecessary repository method

parent 2d787036
No related branches found
Tags 5.3.7
1 merge request!2Feature/multi upload
......@@ -31,6 +31,7 @@ use TYPO3\CMS\Extbase\Persistence\QueryInterface;
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface;
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface as ExtbaseQueryResultInterface;
use TYPO3\CMS\Extbase\Persistence\Repository;
use TYPO3\CMS\Extbase\Utility\DebuggerUtility;
/**
* Job Repository
......@@ -181,14 +182,4 @@ class JobRepository extends Repository {
return $query->execute();
}
/**
* @param int $uid
* @return mixed
*/
public function findByUid($uid) {
$db = $GLOBALS['TYPO3_DB'];
$result = $db->exec_SELECTquery('*', 'tx_sgjobs_domain_model_job', 'uid = ' . $uid)->fetch_assoc();
return $result;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment