will this code do?

if (!array_key_exists('friendssqlcheck', $Context->Configuration)) {
$SQL = file_get_contents($Context->Configuration['EXTENSIONS_PATH'] . 'Friends/friends-mysql.sql');
$Context->Database->Execute($SQL, 'Friends', NULL, 'Could not create Friends table');
if ($Context->ErrorManager->Iif()) {
AddConfigurationSetting($Context, 'friendssqlcheck', '1');
}}
to execute an sql query(contained in an external file) successfully once but if it messes up it will try again next time this code is run?
0
This discussion has been closed.
Comments