diff --git a/app/Models/ServiceOption.php b/app/Models/ServiceOption.php index 07f21b448..5f0cd9c9e 100644 --- a/app/Models/ServiceOption.php +++ b/app/Models/ServiceOption.php @@ -138,6 +138,6 @@ class ServiceOption extends Model public function copyFrom() { - return $this->belongsTo(ServiceOption::class, 'copy_script_from'); + return $this->belongsTo(self::class, 'copy_script_from'); } } diff --git a/app/Repositories/UserRepository.php b/app/Repositories/UserRepository.php index d9973efdd..05a1a53c1 100644 --- a/app/Repositories/UserRepository.php +++ b/app/Repositories/UserRepository.php @@ -28,7 +28,6 @@ namespace Pterodactyl\Repositories; use DB; use Auth; use Hash; -use Carbon; use Settings; use Validator; use Pterodactyl\Models;