Fixed rhpz.org
This commit is contained in:
@@ -19,10 +19,14 @@ class ShortLinkController extends Controller
|
||||
'l' => 'lua-scripts',
|
||||
];
|
||||
|
||||
public function index(){
|
||||
return response()->redirectToRoute('home');
|
||||
}
|
||||
|
||||
public function legacy( int $wpId )
|
||||
{
|
||||
$log = DB::table('migrations_logs')
|
||||
->where('source_system')
|
||||
->where('source_system', 'wp')
|
||||
->whereIn('source_table', ['wp_posts', 'wp_posts__news'] )
|
||||
->where('source_id', $wpId)
|
||||
->first(['target_table', 'target_id']);
|
||||
|
||||
Reference in New Issue
Block a user