Skip to content

Commit e91045a

Browse files
committed
deprecate old warnings
1 parent 55e63d7 commit e91045a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

lua/autorun/rlib/csv.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,7 @@ function base:setup( )
13001300
local bHasRoot, rootuser = access:root( )
13011301
if bHasRoot then return end
13021302

1303+
/*
13031304
con( 'c', 2 )
13041305
con( 'c', 0 )
13051306
con( 'c', Color( 255, 255, 0 ), ln( 'lib_setup_title', script ) )
@@ -1314,7 +1315,8 @@ function base:setup( )
13141315
con( 'c', 1 )
13151316
con( 'c', 0 )
13161317
con( 'c', 2 )
1317-
1318+
*/
1319+
13181320
/*
13191321
rlib > setup > sends an occasional message in chat that the root user has not been registered yet
13201322
*/
@@ -1520,7 +1522,8 @@ local function lib_initialize_checksum( )
15201522
log( RLIB_LOG_SYSTEM, ln( 'lib_integirty_ok', 'OK' ) )
15211523

15221524
end
1523-
hook.Add( pid( 'initialize.post' ), pid( 'initialize_checksum' ), lib_initialize_checksum )
1525+
-- deprecate 11/14
1526+
-- hook.Add( pid( 'initialize.post' ), pid( 'initialize_checksum' ), lib_initialize_checksum )
15241527

15251528
/*
15261529
database > check validation

lua/autorun/rlib/uclass.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6803,6 +6803,14 @@ function ui.gmod( class, panel, a1, a2 )
68036803
return
68046804
end
68056805

6806+
/*
6807+
deprecate old functionality
6808+
*/
6809+
6810+
if isnumber( panel ) then
6811+
panel = nil
6812+
end
6813+
68066814
class = ui.element( class ) or class
68076815

68086816
/*

0 commit comments

Comments
 (0)